Lesson 12: Repository pattern and WorkManager

  1. Which component in the Android Architecture Components is responsible for keeping the offline cache up-to-date and getting data from the network?

  2. What is the best way to save structured data on the device file system for offline caching?

  3. The Transformations.map converts one LiveData into another ___.

  4. When implementing offline caching, which one of the following strategies is a good example of the concept of separation of concerns?

  5. What are the concrete implementations of the WorkRequest class?

  6. Which API do you use to add constraints to a WorkRequest?