Hello All, How do we clear the backstack in the navigation for compose. Before the beta07 there was a method called navController.backstack.clear. Now i see that is being removed. and something like backQueue.clear() is there. Is it the same thing ?
a
allan.conda
08/13/2021, 7:39 AM
How about
popUpTo(rootRoute) { inclusive = true }
?
i
Ian Lake
08/16/2021, 5:48 PM
Those were never, ever public APIs. You'd want to use