SceneInfo
public final class SceneInfo<T extends Object> extends NavigationEventInfo
| java.lang.Object | ||
| ↳ | androidx.navigationevent.NavigationEventInfo | |
| ↳ | androidx.navigation3.scene.SceneInfo |
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 methods |
|
|---|---|
boolean |
|
final @NonNull Scene<@NonNull T> |
getScene()The scene whose state is used by the NavigationEvent |
int |
hashCode() |
@NonNull String |
toString() |