Represents a snapshot of the visible destinations in a navigation container.

This class provides the necessary context for building animations during navigation gestures, like predictive back. It's a simple data holder that feeds into the NavigationEventState.

During a gesture, the InProgress state provides two instances of this info:

You can use these two snapshots, along with NavigationEventState.progress, to create a smooth visual transition between destinations.

Summary

Public functions

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

Public properties

List<Any>

A list of unique keys for the visible navigation destinations, typically ordered from the bottom to the top of the back stack.

Cmn

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

visibleEntries

val visibleEntriesList<Any>

A list of unique keys for the visible navigation destinations, typically ordered from the bottom to the top of the back stack.