allan.conda
04/28/2021, 2:41 AMnavController.popBackstack(route="authParent")
but there’s no API like that.
I can’t point to a specific route from the navigation flow because the app can navigate to Auth from different screens.allan.conda
04/28/2021, 2:44 AMallan.conda
04/28/2021, 2:45 AMIan Lake
04/28/2021, 2:45 AMpopBackStack()
allan.conda
04/28/2021, 2:47 AMpopBackStack(route)
allan.conda
04/28/2021, 2:47 AMnavController.navigate("auth_nav") {
popUpTo("auth_nav") { inclusive = true }
}
?Ian Lake
04/28/2021, 2:48 AMallan.conda
04/28/2021, 2:49 AMallan.conda
04/28/2021, 2:49 AMpopBackstack(id)
but the id is implementation detail in compose-navJustin Yue
04/28/2021, 2:50 AMIan Lake
04/28/2021, 2:51 AMallan.conda
04/28/2021, 2:51 AMIan Lake
04/28/2021, 2:52 AMJustin Yue
04/28/2021, 2:53 AMallan.conda
04/28/2021, 2:54 AMIan Lake
04/28/2021, 2:54 AMallan.conda
04/28/2021, 2:55 AMcreateRoute(route).hashCode
to make use of other APIs but for another use case 😆)Ian Lake
04/28/2021, 2:55 AMnavController.getBackStackEntry("auth_nav").destination.id
Ian Lake
04/28/2021, 2:55 AMpopBackStack()
allan.conda
04/28/2021, 2:55 AMJustin Yue
04/28/2021, 2:56 AMallan.conda
04/28/2021, 2:56 AMallan.conda
04/28/2021, 2:56 AMJustin Yue
04/28/2021, 2:57 AM