ActionOnlyNavDirections


public final class ActionOnlyNavDirections implements NavDirections


An implementation of NavDirections without any arguments.

This class should not be used directly; prefer the NavDirections classes generated by the Safe Args plugin.

Summary

Public constructors

Public methods

boolean
equals(Object other)
int

An action id to navigate with.

@NonNull SavedState

Arguments to pass to the destination

int
@NonNull String

Public constructors

ActionOnlyNavDirections

Added in 1.0.0
public ActionOnlyNavDirections(int actionId)

Public methods

equals

public boolean equals(Object other)

getActionId

Added in 2.9.0-alpha04
public int getActionId()

An action id to navigate with.

getArguments

Added in 2.9.0-alpha04
public @NonNull SavedState getArguments()

Arguments to pass to the destination

hashCode

public int hashCode()

toString

public @NonNull String toString()