NavDirections

public interface NavDirections

androidx.navigation.NavDirections


An interface that describes a navigation operation: action's id and arguments

Summary

Public methods

abstract int getActionId()

Returns a action id to navigate with.

abstract Bundle getArguments()

Returns arguments to pass to the destination

Public methods

getActionId

int getActionId ()

Returns a action id to navigate with.

Returns
int id of an action

getArguments

Bundle getArguments ()

Returns arguments to pass to the destination

Returns
Bundle