Common
public class SceneState<T : Any>
internal constructor(
public val entries: List<NavEntry<T>>,
public val overlayScenes: List<OverlayScene<T>>,
public val currentScene: Scene<T>,
public val previousScenes: List<Scene<T>>,
)
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.
Parameters
| entries | all of the entries that are associated with this state |
| overlayScenes | any overlay scenes available to the state |
| currentScene | the current scene that could be displayed |
| previousScenes | the list of all of the previous scenes before the currentScene |