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

Lesson 9: App architecture (persistence)

  1. How do you indicate that a class represents an entity to store in a Room database?
  2. The DAO (data access object) is an interface that Room uses to map Kotlin functions to database queries. How do you indicate that an interface represents a DAO for a Room database?
  3. Which of the following annotations can you use in your @Dao interface? Choose all that apply.

    Choose as many answers as you see fit.

  4. Which of the following is not a benefit of using coroutines?
  5. Which of the following is not true for Suspend functions?
  6. Which of the following statements is NOT true?