Relative Content

Tag Archive for androidnavigationandroid-jetpack-compose

Pop to Root in Jetpack Compose

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

Compose Navigation is not working properly

I am trying to navigatie from profile screent to auth_graph but when i do it form app navigation it works but when i try to do it from buyer app navigation it shows
java.lang.IllegalStateException: Restore State failed: destination 1536633651 cannot be found from the current destination Destination(0xd9408a4f) route=Login_Screen