NavigationItem

A single item on the navigation backstack.

Constructors

Link copied to clipboard
constructor(@NonNull item: T, @NonNull inverseItem: T)

Properties

Link copied to clipboard
Parcelable creator for restoring NavigationItem from a Parcel.
Link copied to clipboard
The navigation item representing the backward (inverse) direction of this entry.
Link copied to clipboard
val item: T
The navigation item representing the forward direction of this entry.

Functions

Link copied to clipboard
open fun describeContents(): Int
Describes the kinds of special objects contained in this Parcelable instance's marshaled representation.
Link copied to clipboard
open fun equals(o: Any): Boolean
Compares this navigation item to the specified object for equality.
Link copied to clipboard
Returns a new NavigationItem with swapped item and inverseItem, representing the reverse navigation direction.
Link copied to clipboard
open fun hashCode(): Int
Returns a hash code value for this navigation item based on its item and inverse item.
Link copied to clipboard
open fun toString(): String
Returns a string representation of this navigation item.
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)
Flattens this object into a Parcel.