<Jetpack Compose - mutableStateOf() not updating> ...
# stackoverflow
u
Jetpack Compose - mutableStateOf() not updating I got a ScreenState data class in my ViewModel: data class ScreenState( var isLoading: Boolean = true, val items: List = emptyList() ) and a mutableStateof: private val _homeScreenState = mutableStateOf(ScreenState()) val homeScreenState: State = _homeScreenState Updating the isLoading property works fine, the change gets send to my UI: _homeScreenState.value = _homeScreenState.value.copy(isLoading = true) But updating an item inside my List does not work. Here is how I try to do...