Builder

class Builder

Functions

Link copied to clipboard
fun disableDefaultBackPressLogic(): ComposeNavigator.Builder

This will disable Navigator's internal back press logic which you then have to manually handle in Activity's onBackPressed().

Link copied to clipboard
fun disableOnSaveStateInstance(): ComposeNavigator.Builder

This will disable saving of all ComposeNavigator's internal state along with destination states during activity's onSaveStateInstance().

Link copied to clipboard
fun initialize(): ComposeNavigator

Returns the configured instance of ComposeNavigator.

Link copied to clipboard
fun registerTransitions(vararg transitions: NavigatorTransition): ComposeNavigator.Builder

Register custom transitions. This will allow you to set custom transition when navigating to target destination.