MVVMFirstView
The Composable view for the first screen in the MVVM with Compose demo. Observes com.grarcht.shuttle.demo.core.viewmodel.FirstViewModel to enable navigation buttons when the image cargo is loaded, and initiates navigation to MVVMSecondViewActivity either via com.grarcht.shuttle.framework.Shuttle or directly through an android.content.Intent to demonstrate the crash scenario.
Parameters
the context used to access resources and start activities.
the view model that loads the image and exposes the UI state.
the Shuttle instance used for safe cargo transport.
Functions
Cleans up all cargo delivered by Shuttle from the warehouse. Call this when the view is no longer needed, such as in android.app.Activity.onDestroy.
Renders the first screen layout with navigation cards and a preview animation overlay.