public final class SceneInfo<T extends Object> extends NavigationEventInfo


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 NavigationEventHistory.

Summary

Public constructors

<T extends Object> SceneInfo(@NonNull Scene<@NonNull T> scene)

Public methods

boolean
equals(Object other)
final @NonNull Scene<@NonNull T>

The scene whose state is used by the NavigationEvent

int
@NonNull String

Public constructors

SceneInfo

public <T extends Object> SceneInfo(@NonNull Scene<@NonNull T> scene)

Public methods

equals

public boolean equals(Object other)

getScene

Added in 1.0.0-alpha10
public final @NonNull Scene<@NonNull T> getScene()

The scene whose state is used by the NavigationEvent

hashCode

public int hashCode()

toString

public @NonNull String toString()