NavigationEventHistory



Represents an immutable snapshot of the navigation history stack.

This object tracks the combined navigation stack (mergedHistory) from the root to the currently active destination, indicated by currentIndex.

This state is explicitly separate from transition state (which tracks gesture progress). NavigationEventHistory is stable during gestures and only updates when the active handler changes or when the active handler's info (its local stack) is updated.

Summary

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Int

Index of current in mergedHistory.

Cmn
List<NavigationEventInfo>

Combined stack from root to leaf.

Cmn

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

currentIndex

val currentIndexInt

Index of current in mergedHistory.

mergedHistory

val mergedHistoryList<NavigationEventInfo>

Combined stack from root to leaf.