CargoTransportIntent

Represents the set of user or system actions that can be dispatched to trigger cargo transport operations in the first view. Each subtype corresponds to a distinct operation that the view model can act on.

Inheritors

Types

Link copied to clipboard

Requests that all cargo delivered by Shuttle be cleaned up from the warehouse.

Link copied to clipboard
data class LoadImage(val resources: Resources, @RawRes val imageId: Int) : CargoTransportIntent

Requests that an image be loaded from a raw resource and prepared for transport as cargo to the second view.

Link copied to clipboard
data class NavigateNormally(val imageModel: ImageModel?) : CargoTransportIntent

Requests navigation to the second view by passing the image model directly via android.content.Intent, demonstrating the crash scenario.

Link copied to clipboard
data class NavigateWithShuttle(val imageModel: ImageModel?) : CargoTransportIntent

Requests navigation to the second view by transporting the image model safely via Shuttle to avoid a android.os.TransactionTooLargeException.