IMutable Viewable Map
interface IMutableViewableMap<K : Any, V : Any> : MutableMap<K, V> , IViewableMap<K, V>
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open fun adviseAddRemove(lifetime: Lifetime, handler: (AddRemove, K, V) -> Unit)
Content copied to clipboard
Adds a subscription to additions and removals of map elements. When a map 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
Properties
Inheritors
Extensions
Link copied to clipboard
fun <K : Any, V : Any, T : Any> IMutableViewableMap<K, V>.toViewableList(lifetime: Lifetime, converter: (Lifetime, V) -> T): ViewableList<T>
Content copied to clipboard
Converts a viewable map to a viewable list of values, where the converter function is used to convert each map value to a list value.