Peter Mandeljc
09/10/2021, 9:31 AMPeter Mandeljc
09/10/2021, 9:39 AMNavHost(...) {
composable(...) {
BackHandler { /* navigate to A */}
D()
}
}
Ian Lake
09/10/2021, 2:40 PMnavigate
will go in a forward direction rather than run the pop animations. You should add popUpTo("a") { inclusive = true }
to each time you navigate to D - then the back stack will already be correct when you hit the system back button