<Proper use of mutableStateflow with Launcheffect ...
# stackoverflow
u
Proper use of mutableStateflow with Launcheffect in jetpack compose Hey I am working in MutableStateFlow in jetpack compose. I am trying to load spinner in next screen but it's not working. I am started learning jetpack compose. I didn't find the proper way in jetpack compose. I know MutableStateFlow in legacy way. I'll try explain what I am trying to do and what I want to achieve. I have a Button in the composable function, when I press the Button I am going into the viewModel and calling the api inside viewModelScope.launch. On that basis I have create a...