enighma
04/04/2021, 7:39 PMNavHost
I love the way I can setup navigation with it.
What I'm trying to understand is how I can get it to animate. I see that when I call navigate()
I have a lambda where I can provide options such as Anim.
I have something like this:
navController.navigate(Destination.newGame) {
anim { enter }
}
I'm guessing that I haven't defined the enter animation, since no animation is defined. Where do I define that? In the MaterialTheme somehow?Ian Lake
04/04/2021, 8:28 PMenighma
04/04/2021, 10:37 PMenighma
04/16/2021, 6:30 PMAnimatedVisibility
But not exit, and I think I understand why. I'm guessing there's no workaround currently?
I.e. I have to be more patient 😄Ian Lake
04/16/2021, 6:56 PM