NavActionBuilder



DSL for building a NavAction.

Summary

Public constructors

android

Public functions

Unit
navOptions(optionsBuilder: NavOptionsBuilder.() -> Unit)

Sets the NavOptions for this action that should be used by default

android

Public properties

MutableMap<StringAny?>

The set of default arguments that should be passed to the destination.

android
Int

The ID of the destination that should be navigated to when this action is used

android

Public constructors

NavActionBuilder()

Public functions

fun navOptions(optionsBuilder: NavOptionsBuilder.() -> Unit): Unit

Sets the NavOptions for this action that should be used by default

Public properties

defaultArguments

val defaultArgumentsMutableMap<StringAny?>

The set of default arguments that should be passed to the destination. The keys used here should be the same as those used on the NavDestinationBuilder.argument for the destination.

All values added here should be able to be added to a android.os.Bundle.

See also
defaultArguments

destinationId

var destinationIdInt

The ID of the destination that should be navigated to when this action is used