FirstScreen
fun FirstScreen(viewModel: FirstViewModel, onNavigateWithShuttle: () -> Unit, onNavigateNormally: () -> Unit)
Renders the first screen layout for the MVVM with Compose and Navigation demo. Navigation buttons are enabled when the image is loaded, and each button delegates to the provided navigation callbacks so the host fragment retains control of the Navigation component.
Parameters
viewModel
the view model that exposes the image loading state.
onNavigateWithShuttle
called when the user chooses to navigate via Shuttle.
onNavigateNormally
called when the user chooses to navigate without Shuttle.