mvrx-navigation / com.airbnb.mvrx.navigation / MavericksNavDirections

MavericksNavDirections

class MavericksNavDirections : NavDirections

MavericksNavDirections.create must be used to pick between a Parcelable or Serializable data argument.

Parameters

actionId -

parcelable -

serializable -

title - Graph usage example.

Functions

getActionId

fun getActionId(): Int

getArguments

fun getArguments(): Bundle

Companion Object Properties

KEY_ARG_TITLE

const val KEY_ARG_TITLE: String

Companion Object Functions

create

fun create(actionId: Int, data: Parcelable, title: String? = null): MavericksNavDirections
fun create(actionId: Int, data: Serializable, title: String? = null): MavericksNavDirections