NavActionBuilder
Kotlin
|Java
class NavActionBuilder
kotlin.Any | |
↳ | androidx.navigation.NavActionBuilder |
DSL for building a NavAction.
Summary
Public constructors |
|
---|---|
<init>() DSL for building a NavAction. |
Public methods |
|
---|---|
Unit |
navOptions(: 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
Public methods
navOptions
fun navOptions(: 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