kt-mvvm / com.dukescript.api.kt / observableList

observableList

inline fun <reified T> Provider.observableList(vararg items: T, noinline onChange: () -> Unit = null): Readable<MutableList<T>>

Defines an observable array property.

Parameters

items - optional elements to fill the array with