Composables UI is out: our new component library for Compose Multiplatform ->
Function

mutableStateMapOf

Create a instance of MutableMap<K, V> that is observable and can be snapshot.

mutableStateMapOf

Source set: Common
@StateFactoryMarker
public fun <K, V> mutableStateMapOf(): SnapshotStateMap<K, V>

Create a instance of MutableMap<K, V> that is observable and can be snapshot.

mutableStateMapOf

Source set: Common
@StateFactoryMarker
public fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>): SnapshotStateMap<K, V>

Create a instance of MutableMap<K, V> that is observable and can be snapshot.

Last updated: