Destination

interface Destination

Implementations of Destination represent minimum set of data, required to show screen.

Example:

@Serializable
data class ProfileDestination(val userId: String) : Destination {
override val args = Args()
}

Inheritors

Types

Link copied to clipboard
@Serializable
data class Args(val backstackIndex: Int = 0, val transition: Transition? = null, val key: String = "", val showTopBar: Boolean = false, val showNavigationBar: Boolean = false, val skipBackstack: Boolean = false)

The minimum set of data required for navigation system to handle Destination.

Properties

Link copied to clipboard
abstract val args: Destination.Args