DestinationKind

The role a NavDestination plays at runtime. The processor uses this value to choose which pair of files to emit and which NavDestination subclass the generated binding contributes to.

Entries

Link copied to clipboard

A screen pushed onto the navigation back stack. Tapping the system back button pops it off and returns to the previous destination.

Link copied to clipboard

A modal overlay that appears on top of the current screen without affecting the back stack. Examples include bottom sheets, dialogs, and menus. Dismissing the overlay returns to the screen that was visible underneath.

Link copied to clipboard

The destination shown when the user selects a top level tab in a bottom navigation bar. Each tab anchors its own back stack and persists across tab switches.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.