Package-level declarations

Types

Link copied to clipboard
interface NavigationKey : NavKey
Link copied to clipboard
class NavigationState(val startRoute: NavKey, topLevelRoute: MutableState<NavKey>, val topLevelRoutes: Set<NavigationKey>, val backStacks: Map<NavKey, NavBackStack<NavKey>>)

State holder for navigation state.

Link copied to clipboard
class Navigator(val state: NavigationState)

Handles navigation events (forward and back) by updating the navigation state.

Properties

Functions

Link copied to clipboard

Create a navigation state that persists config changes and process death.

Link copied to clipboard
fun rememberNavigator(startKey: NavKey, topLevelRoutes: Set<NavigationKey>, configuration: SavedStateConfiguration): Navigator