ComposeNavigator.Destination


NavDestination specific to ComposeNavigator

Summary

Public constructors

Cmn
android

Inherited functions

From androidx.navigation.NavDestination
Unit
addArgument(argumentName: String, argument: NavArgument)

Sets an argument type for an argument name

Cmn
android
Unit
addDeepLink(navDeepLink: NavDeepLink)

Add a deep link to this destination.

Cmn
android
Unit
addDeepLink(uriPattern: String)

Add a deep link to this destination.

Cmn
android
open operator Boolean
equals(other: Any?)
android
String?
fillInLabel(context: Context, bundle: Bundle?)

Parses a dynamic label containing arguments into a String.

android
NavAction?

Returns the NavAction for the given action ID.

android
open Boolean
hasDeepLink(deepLink: NavUri)

Checks the given deep link NavUri, and determines whether it matches a Uri pattern added to the destination by a call to addDeepLink .

Cmn
open Boolean
hasDeepLink(deepLinkRequest: NavDeepLinkRequest)

Checks the given NavDeepLinkRequest, and determines whether it matches a NavDeepLink added to the destination by a call to addDeepLink.

Cmn
android
open Int
android
open Unit

Called when inflating a destination from a resource.

android
Unit
putAction(actionId: @IdRes Int, action: NavAction)

Sets the NavAction destination for an action ID.

android
Unit
putAction(actionId: @IdRes Int, destId: @IdRes Int)

Creates a NavAction for the given destId and associates it with the actionId.

android
Unit
removeAction(actionId: @IdRes Int)

Unsets the NavAction for an action ID.

android
Unit
removeArgument(argumentName: String)

Unsets the argument type for an argument name.

Cmn
android
open String
android

Inherited properties

From androidx.navigation.NavDestination
Map<StringNavArgument>

The arguments supported by this destination.

Cmn
android
open String
Cmn
Int

The destination's unique ID.

android
CharSequence?

The descriptive label of this destination.

Cmn
android
String

The name associated with this destination's Navigator.

Cmn
android
NavGraph?

Gets the NavGraph that contains this destination.

Cmn
android
String?

The destination's unique route.

Cmn
android

Public constructors

Destination

Destination(
    navigator: ComposeNavigator,
    content: @Composable AnimatedContentScope.(NavBackStackEntry) -> Unit
)