Viewable List
class ViewableList<T : Any>(storage: MutableList<T> = mutableListOf()) : IMutableViewableList<T>
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun adviseAddRemove(lifetime: Lifetime, handler: (AddRemove, Int, T) -> Unit)
Content copied to clipboard
Adds a subscription to additions and removals of list elements. When a list element is updated, the handler is called twice: to report the removal of the old element and the addition of the new one.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard