Skip to main content

mutableStateMapOf

Function mutableStateMapOf 

Source
pub fn mutableStateMapOf<K, V, I>(pairs: I) -> SnapshotStateMap<K, V>
where K: Clone + Eq + Hash + 'static, V: Clone + 'static, I: IntoIterator<Item = (K, V)>,
Expand description

Creates a snapshot-aware map holding pairs. Must be called during composition. Compose’s mutableStateMapOf.