androidx.navigationevent


Provides APIs to easily intercept platform gesture events, including swipes and clicks, to help in app navigation.

Interfaces

NavigationEventDispatcherOwner

A class that has an NavigationEventDispatcher that allows you to register a NavigationEventCallback for handling navigation events.

NavigationEventInfo

Provides contextual information about a navigation state (e.g., a screen or route).

Classes

DirectNavigationEventInputHandler

An input handler that can send events to a NavigationEventDispatcher.

NavigationEvent

Represents a system navigation event, such as a predictive back gesture or a back button press.

NavigationEventCallback

Callback for handling NavigationEvents.

NavigationEventDispatcher

A dispatcher for navigation events that can be organized hierarchically.

NavigationEventInputHandler

An input handler that can send events to a NavigationEventDispatcher.

NavigationEventPriority

Priority to be provided to the NavigationEventCallback when it is being initialized to determine when the callback should be triggered.

NavigationEventState

Represents the state of a system navigation gesture, like a predictive back swipe.

NavigationEventState.Idle

The UI is settled, and no navigation gesture is currently active.

NavigationEventState.InProgress

A navigation gesture is actively in progress.

OnBackInvokedInputHandler

Provides input from OnBackInvokedCallback to the given NavigationEventDispatcher.

ViewTreeNavigationEventDispatcherOwnerKt
NavigationEventInfo.NotProvided

A default used when no specific information is associated with a navigation event.

NavigationEventPriority.Companion