Lesson 9: App architecture (persistence)

Create a database using the Room library and use coroutines to simplify asynchronous programming.


Create a Room database


Import the starter code for the TrackMySleep app. Then, use Room for data storage persistence in your Android apps.

Coroutines and Room


Use Kotlin coroutines to handle long-running tasks in your Android app elegantly and efficiently.


Earn your badge for completing Lesson 9: App architecture (persistence).