Stay organized with collections Save and categorize content based on your preferences.

Architecture and state

  1. In Compose, there is no way to update the UI after it’s been drawn without changing state.
  2. Which of the following is true about unidirectional data flow (UDF):

    Choose as many answers as you see fit.

  3. Compose has a special state-tracking system in place that schedules recompositions for any composables that read a particular state.
  4. When state changes, a recomposition is triggered to:

    Choose as many answers as you see fit.

  5. State is always mutated inside the scope of a composable function.
  6. Store objects in the composition by using the ___ composable function, which can be used to store both mutable and immutable objects.
  7. The NavController component does which of the following:

    Choose as many answers as you see fit.

  8. A ___ takes you directly to a specific destination within the app.