Finlandia
09/02/2022, 10:36 AMAnimatedVisibility from androidx.compose.animation.AnimatedVisibility but it is not working in my wearable appJohn Nichol
09/02/2022, 12:15 PMFinlandia
09/02/2022, 2:05 PMLoading component and a `Content`component. I am using MVVM
In the composable I read the value of a state that has a property isLoading as follows:
var isLoading= viewModel.state.isLoading
So, if the variable isLoading =true, I want to show the Loading component and I want to animate its entrance.
If the isLoading= false I want to replace the Loading component with the Content component in an animated and smooth way.
Also, another use case where I want to use Animations is when navigating from one component to another. Similarly as is done in accompanist-navigation-animationJohn Nichol
09/02/2022, 2:14 PM