NavigationEvent

sealed class NavigationEvent

One-shot navigation events emitted by FirstViewModel to the view. The view collects these and executes the corresponding platform navigation.

Inheritors

Types

Link copied to clipboard
data class Normally(val cargo: NavigationCargo) : NavigationEvent

Signals that the view should navigate by passing the image model directly in an android.content.Intent, demonstrating the crash scenario.

Link copied to clipboard

Signals that the view should navigate by transporting the cargo safely via Shuttle.