Fyne API "binding.UntypedList"

binding.UntypedList


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

Usage

type UntypedList

type UntypedList interface {
	DataList

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

UntypedList supports binding a list of interface{} values.

Since: 2.1

func NewUntypedList

func NewUntypedList() UntypedList

NewUntypedList returns a bindable list of interface{} values.

Since: 2.1