NavigationEventState.InProgress


public final class NavigationEventState.InProgress<T extends NavigationEventInfo> extends NavigationEventState


A navigation gesture is actively in progress.

Summary

Public methods

boolean
equals(Object other)
@NonNull T

The UI state the gesture is navigating towards.

final @NonNull NavigationEvent

The latest NavigationEvent in the gesture sequence, containing details like touch position and progress.

final T

The UI state the gesture is navigating away from.

int
@NonNull String

Inherited methods

From androidx.navigationevent.NavigationEventState
final float

The progress of the current navigation gesture, typically from 0.0f to 1.0f.

Public methods

equals

public boolean equals(Object other)

getCurrentInfo

public @NonNullgetCurrentInfo()

The UI state the gesture is navigating towards.

getLatestEvent

Added in 1.0.0-alpha06
public final @NonNull NavigationEvent getLatestEvent()

The latest NavigationEvent in the gesture sequence, containing details like touch position and progress.

getPreviousInfo

Added in 1.0.0-alpha06
public final T getPreviousInfo()

The UI state the gesture is navigating away from.

hashCode

public int hashCode()

toString

public @NonNull String toString()