Fyne API "binding.UntypedList"

binding.UntypedList


import "fyne.io/fyne/v2/data/binding"

Usage

type UntypedList

type UntypedList interface {
	DataList

	Append(value any) error
	Get() ([]any, error)
	GetValue(index int) (any, error)
	Prepend(value any) error
	Remove(value any) error
	Set(list []any) error
	SetValue(index int, value any) error
}

UntypedList supports binding a list of any values.

Since: 2.1

func NewUntypedList

func NewUntypedList() UntypedList

NewUntypedList returns a bindable list of any values.

Since: 2.1