Am I going crazy, or can I not use a mutableStateO...
# compose
c
Am I going crazy, or can I not use a mutableStateOf<Boolean> in AnimatedVisibility?
Copy code
AnimatedVisibility(visibleState = (viewModel.screenState.loadingInProgress))
rubber duck Whoops. It seems like I want Crossfade and not AnimatedVisibility!
rubber duck 4
d
I am not sure you are crazy. I witnessed some `AnimatedVisibility`s not animating when delegating to a
State<Boolean>
for it’s value.
Perhaps it happens if they are nested? It has not be completely reproducible for me.