I have a NavGraph setup so you can change the start destination while being on another screen entirely (e.g. A is the start destination – I navigate to C and change the start destination to B) – however, this causes the NavGraph to recompose and I end up on the start destination rather than remain on the screen I’m on currently (C in the example).
My preferred behavior would be to remain on C screen, while swapping A for B in the backstack.
Is this possible to setup, since I had the exact same usecase working on fragment navigation?
NavHost(navController = navController, startDestination = startDestination) {
composable<A> {}
composable<B> {}
composable<C> {}
}