Destination Navigator
abstract class DestinationNavigator(val hostNavigator: HostNavigator) : Navigator, ActivityNavigator
A combination of Navigator and com.freeletics.khonshu.navigation.activity.ActivityNavigator that can be used as base class for navigators of individual screens.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Removes the top entry from the backstack to show the previous destination.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Launches the given request.
Link copied to clipboard
Triggers up navigation.
Link copied to clipboard
fun <I, O> registerForActivityResult(contract: ActivityResultContract<I, O>): ActivityResultRequest<I, O>
Register for receiving activity results for the given contract.
Link copied to clipboard
inline fun <T : BaseRoute, O : Any> Navigator.registerForNavigationResult(): NavigationResultRequest<O>
Register for receiving navigation results.
Link copied to clipboard
Register for receiving permission results.
Link copied to clipboard
Remove all back stacks and create a new back stack with the given root.
Link copied to clipboard
Launches the request for the given permissions.
Link copied to clipboard