SceneState
-
Cmn
class SceneState<T : Any>
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, and also the scene that is displayed underneath any overlay scenes. |
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 currentScene: Scene<T>
the current scene that could be displayed, and also the scene that is displayed underneath any overlay scenes.
previousScenes
val previousScenes: List<Scene<T>>
the list of all of the previous scenes before the currentScene