Relative Content

Tag Archive for androidkotlinandroid-jetpack-composekotlin-stateflowmutablemap

MutableMap State value not updated on the UI (Kotlin Jetpack Compose)

I’m using a MutableMap to save the data which is updates every 5 seconds and I expect also to be updated the UI showing part of the Map.
After trying different solution I found that if I add another Double variable both Map and **Double **are updated on the UI but if I keep only Map variable nothing changes: