MVIFirstView
The Composable view for the first screen in the MVI with Compose demo. Dispatches intents to FirstViewModel and observes the resulting com.grarcht.shuttle.demo.mviwithcompose.state.CargoTransportUiState to enable navigation buttons when the image is loaded. Navigation side effects arrive as com.grarcht.shuttle.demo.mviwithcompose.navigation.NavigationEvents that this view executes.
Parameters
context
the context used to access resources and start activities.
viewModel
the MVI view model that processes intents and exposes UI state.
shuttle
the Shuttle instance used for safe cargo transport.