If I log the NavController
‘s back stack, I notice the root entry has a NavDestination.id
of 0x0
. Is it bad practice/is there a better documented way of popping to root other than merely saying
navOptions {
popUpTo(0)
}
If I log the NavController
‘s back stack, I notice the root entry has a NavDestination.id
of 0x0
. Is it bad practice/is there a better documented way of popping to root other than merely saying
navOptions {
popUpTo(0)
}
Filed under: Kiến thức lập trình - @ 22:31