NavDirections

public interface NavDirections

Known direct subclasses
ActionOnlyNavDirections

An implementation of NavDirections without any arguments.


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

Summary

Public methods

abstract @IdRes int

An action id to navigate with.

abstract @NonNull Bundle

Arguments to pass to the destination

Public methods

getActionId

Added in 1.0.0
abstract @IdRes int getActionId()

An action id to navigate with.

getArguments

Added in 1.0.0
abstract @NonNull Bundle getArguments()

Arguments to pass to the destination