Fyne API "binding.ExternalUntypedList"

binding.ExternalUntypedList


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

Usage

type ExternalUntypedList

type ExternalUntypedList interface {
	UntypedList

	Reload() error
}

ExternalUntypedList supports binding a list of any values from an external variable.

Since: 2.1

func BindUntypedList

func BindUntypedList(v *[]any) ExternalUntypedList

BindUntypedList returns a bound list of any values, based on the contents of the passed slice. If your code changes the content of the slice this refers to you should call Reload() to inform the bindings.

Since: 2.1