NavActionBuilder

class NavActionBuilder
kotlin.Any
   ↳ androidx.navigation.NavActionBuilder

DSL for building a NavAction.

Summary

Public constructors

DSL for building a NavAction.

Public methods

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

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

Properties

Int

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

Public constructors

<init>

NavActionBuilder()

DSL for building a NavAction.

Public methods

navOptions

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

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

Properties

destinationId

var destinationId: Int

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