binding.ExternalList
import "fyne.io/fyne/v2/data/binding"Usage
type ExternalList
type ExternalList[T any] interface {
List[T]
Reload() error
}ExternalList supports binding a list of values, with type T, from an external variable.
2.7func BindBoolList
func BindBoolList(v *[]bool) ExternalList[bool]BindBoolList returns a bound list of bool 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.
2.0func BindBytesList
func BindBytesList(v *[][]byte) ExternalList[[]byte]BindBytesList returns a bound list of []byte 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.
2.2func BindFloatList
func BindFloatList(v *[]float64) ExternalList[float64]BindFloatList returns a bound list of float64 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.
2.0func BindIntList
func BindIntList(v *[]int) ExternalList[int]BindIntList returns a bound list of int 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.
2.0func BindList
func BindList[T any](v *[]T, comparator func(T, T) bool) ExternalList[T]BindList returns a bound list of values with type T, 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.
2.7func BindRuneList
func BindRuneList(v *[]rune) ExternalList[rune]BindRuneList returns a bound list of rune 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.
2.0func BindStringList
func BindStringList(v *[]string) ExternalList[string]BindStringList returns a bound list of string 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.
2.0func BindURIList
func BindURIList(v *[]fyne.URI) ExternalList[fyne.URI]BindURIList returns a bound list of fyne.URI 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.
2.1func BindUntypedList
func BindUntypedList(v *[]any) ExternalList[any]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.
2.1