Package-level declarations
Types
This allows to trigger androidx.activity.result.contract.ActivityResultContract related navigation actions from outside the view layer without keeping references to Android framework classes that might leak.
Class returned from ActivityNavigator.registerForActivityResult.
Represents the route to an Activity. Should be used through InternalActivityRoute and ExternalActivityRoute.
Represents the route to an Activity in another app. buildIntent can be used to dynamically add extras to the resulting Intent.
Represents the route to an Activity within the current app. The instance of this route will be added to the resulting Intent and can be accessed in the launched Activity by calling getRoute or requireRoute. The navigator will also ensure that the Intent will only target the current app.
Class returned from ActivityNavigator.registerForPermissionsResult.
Functions
Sets up the ActivityNavigator and com.freeletics.khonshu.navigation.DestinationNavigator inside the current composition so that its events are handled while the composition is active.
Returns the ActivityRoute that was used to navigate to this Activity if it's present in Activity's Intent.
Returns the ActivityRoute that was used to navigate to this Activity.