mgrazianodecastro
03/10/2023, 4:49 PMIan Lake
03/10/2023, 6:26 PMviewModel
or hiltViewModel
, so if you want it stored at the navigation graph level, pass it the NavBackStackEntry
associated with that graph that you've retrieved via navController.getBackStackEntry(yourGraphsRoute)
Ian Lake
03/10/2023, 6:27 PMroute
parameter on the NavHost lets you setmgrazianodecastro
03/10/2023, 6:36 PMmgrazianodecastro
03/10/2023, 6:36 PM