Jonathan
10/01/2025, 8:16 PMNavController.navigate(ScreenA) with a popup(ScreenA) { inclusive = true } but I would like to preserve the default back animation.
Using the following operations don’t return the result I’m expected:
navController.popBackStack<ScreenA>(inclusive = false, saveState = false)
navController.popBackStack<ScreenA>(inclusive = true, saveState = false)Jack Boswell
10/02/2025, 1:10 AMnavController.navigate<ScreenA> {
popUpTo<ScreenA>(inclusive = true)
}Jonathan
10/02/2025, 1:12 AMJonathan
10/02/2025, 1:13 AMJack Boswell
10/02/2025, 1:13 AMJonathan
10/02/2025, 1:18 AMScreenB.
As for your previous point, it's not a big deal that the state isn't retained. The screen is performing an asynchronous scan that just indicates when it's done or an error state.Jack Boswell
10/02/2025, 1:19 AMJonathan
10/02/2025, 1:22 AMDisposableEffect but I wasn't sure if it was a misuse of that API. I planned on researching tomorrow.Jack Boswell
10/02/2025, 1:28 AMJonathan
10/02/2025, 1:29 AMJack Boswell
10/02/2025, 1:29 AMJonathan
10/02/2025, 1:33 AMJonathan
10/02/2025, 1:34 AMJack Boswell
10/02/2025, 1:42 AMJonathan
10/02/2025, 1:43 AM