gsala
11/01/2020, 9:40 AMjaqxues
11/01/2020, 10:12 AMcurrentRoute
, Add the popBackStack under the if and it should work fine I think.gsala
11/01/2020, 10:22 AMif (currentRoute != screen.route) {
navController.navigate(screen.route)
}
navController.popBackStack(navController.graph.startDestination, false)
this will always just pop back to the start destination, so I can't navigate to "Apps" thenjaqxues
11/01/2020, 10:22 AMgsala
11/01/2020, 10:24 AMgsala
11/01/2020, 10:25 AMif (currentRoute != screen.route) {
navController.popBackStack(navController.graph.startDestination, false)
navController.navigate(screen.route)
}
this seems to workjaqxues
11/01/2020, 10:25 AMgsala
11/01/2020, 10:30 AMjaqxues
11/01/2020, 10:41 AMIan Lake
11/01/2020, 3:27 PMIan Lake
11/01/2020, 3:28 PMIan Lake
11/01/2020, 3:29 PMgsala
11/01/2020, 4:36 PMIan Lake
11/01/2020, 6:13 PM