Function

mutableStateMapOf

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

mutableStateMapOf

Source set: Common
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
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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: