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)
route
parameter on the NavHost lets you setmgrazianodecastro
03/10/2023, 6:36 PM