Florian
10/07/2021, 9:23 AMcomposable
path 😣.Albert Chang
10/07/2021, 9:28 AMcb
10/07/2021, 9:39 AMI can use Accompanist, but I don't wanna set the transition to null in each singleYou don't need to. You can set the default transition (i.e. null) on thepathcomposable
AnimatedNavHost
sindrenm
10/07/2021, 9:57 AMnull
on each composable()
wouldn't work, right? Since that would then default up to whatever's set on the AnimatedNavHost
, which is the `fadeIn`/`fadeOut`.Florian
10/07/2021, 10:06 AMAnimatedNavHost(
navController = navController,
startDestination = bottomNavDestinations[0].route,
modifier = modifier,
enterTransition = {_,_ -> EnterTransition.None },
exitTransition = {_,_ -> ExitTransition.None },
popEnterTransition = {_,_ -> EnterTransition.None },
popExitTransition = {_,_ -> ExitTransition.None },
)
Is this the way?cb
10/07/2021, 11:14 AMFlorian
10/07/2021, 6:38 PM