Why doesn't my UiState(stateflow object) update after updating in the viewmodel?
Advertisements I update the uiState in the model by the updateSelectedCategory(category = selectedCategory) function, I checked through the logs int the viewmodel, everything is fine, it is updated. But, when I check this in the WhehereToGoApp compose function, the parameter uiState.currentPlacesList is not updated, why? I think I’m somehow not collecting the state correctly, but… Read More Why doesn't my UiState(stateflow object) update after updating in the viewmodel?