Sep 18, 2022
The main problem is that you're exposing a MutableList var from your VM and reading it directly in Composable. Instead, create a state data class with the val something: List<Whatever> inside and expose it through StateFlow / LiveData / Compose state and you should be fine.