rememberNavigationState
fun rememberNavigationState(startRoute: NavKey, topLevelRoutes: Set<NavigationKey>, configuration: SavedStateConfiguration): NavigationState
Create a navigation state that persists config changes and process death.
Return
NavigationState that persists config changes and process death
Parameters
startRoute
the start route. The user will exit the app through this route
topLevelRoutes
the top level routes. The user will exit the app through one of these routes
configuration
the saved state configuration