Package-level declarations
Types
Link copied to clipboard
A SceneStrategy that displays entries that have added dialog to their NavEntry.metadata within a Dialog instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Class for holding the state associated with a scene
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A SceneStrategy that always creates a 1-entry Scene simply displaying the last entry in the list.
Functions
Link copied to clipboard
fun <T : Any> NavigationBackHandler(sceneState: SceneState<T>, state: NavigationEventState<SceneInfo<T>> = rememberNavigationEventState(sceneState), onBackCancelled: () -> Unit = {}, onBackCompleted: () -> Unit)
A composable that handles back navigation gestures for a SceneState, driven by a NavigationEventState.
Link copied to clipboard
fun <T : Any> rememberNavigationEventState(sceneState: SceneState<T>): NavigationEventState<SceneInfo<T>>
Remembers and returns a NavigationEventState instance for a SceneState.
Link copied to clipboard
fun <T : Any> rememberSceneState(entries: List<NavEntry<T>>, sceneStrategies: List<SceneStrategy<T>>, sceneDecoratorStrategies: List<SceneDecoratorStrategy<T>> = emptyList(), sharedTransitionScope: SharedTransitionScope? = null, onBack: () -> Unit): SceneState<T>
Returns a SceneState that is remembered across compositions based on the parameters.