Class for holding the state associated with a scene

This provides information to the androidx.navigation3.ui.NavDisplay and androidx.navigationevent.compose.NavigationBackHandler to ensure they can behave correctly.

Summary

Public properties

Scene<T>

the current scene that could be displayed

Cmn
List<NavEntry<T>>

all of the entries that are associated with this state

Cmn
List<OverlayScene<T>>

any overlay scenes available to the state

Cmn
List<Scene<T>>

the list of all of the previous scenes before the currentScene

Cmn

Public properties

currentScene

val currentSceneScene<T>

the current scene that could be displayed

entries

val entriesList<NavEntry<T>>

all of the entries that are associated with this state

overlayScenes

val overlayScenesList<OverlayScene<T>>

any overlay scenes available to the state

previousScenes

val previousScenesList<Scene<T>>

the list of all of the previous scenes before the currentScene