Navigation in Jetpack Compose

  1. A route is defined with a(n) ___ data type.
  2. With a NavHost, you must explicitly specify a starting screen.
  3. It’s considered best practice to not pass a NavHostController to individual composables.
  4. ___ is a composable that manages which screen is displayed based on a given route.
  5. The composable() function called in a NavHost takes which two parameters?
  6. You can change the currently displayed route using the ___ method.
  7. The ___ method removes one or more screens from the backstack.
  8. In a multi-screen app, navigating to a new screen puts it on the bottom of the backstack.
  9. Intent ___ contain additional data passed to an Intent.
  10. StateFlow is a data-holder observable flow that emits the current and new state updates.
  11. Which of the following are true about the Back and Up buttons?

    Choose as many answers as you see fit.