NavDirections

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 fields

abstract @NonNull int

Returns a action id to navigate with.

abstract @NonNull Bundle

Returns arguments to pass to the destination

Public fields

actionId

@NonNull
public abstract @NonNull int actionId

Returns a action id to navigate with.

Returns
@NonNull int

id of an action

arguments

@NonNull
public abstract @NonNull Bundle arguments

Returns arguments to pass to the destination