FloTec09
FloTec09

Reputation: 41

Use Animations with navigations in WearOS

I have a swipeDissmissableNavController with a SwipeDismissableNavHost and I want to add in animations when entering a new page. I tried it the following way:

    val navController = rememberSwipeDismissableNavController()
    SwipeDismissableNavHost(
    navController = navController,
    startDestination = "startDestination",
    enterTransition = //enterTransition here
    ){
   // composables here
}

But it does not take any enterTransition parameters ore similar.

Any ideas?

Upvotes: 0

Views: 65

Answers (0)

Related Questions