Companion

object Companion

Functions

Link copied to clipboard
fun <E> addition(from: Int, added: List<E>): ListChange<E>

Creates a SetChange describing items added to an ObservableSet. You only need to use this when creating your own ObservableSet implementation.

Link copied to clipboard
fun <E> removal(from: Int, removed: List<E>): ListChange<E>

Creates a SetChange describing items removed from an ObservableSet. You only need to use this when creating your own ObservableSet implementation.

Link copied to clipboard
fun <E> replacement(from: Int, added: List<E>, removed: List<E>): ListChange<E>

Creates a SetChange describing items replaced within an ObservableSet. You only need to use this when creating your own ObservableSet implementation. Used when an item in the list is changed such as : myObservableList[0] = newItem