Room - Creating the Database
This lesson will demonstrate how to create a Room database.
This lesson will walk you through the Kotlin code required to define a database and obtain an instance of the database whenever it is required.
Summary of content
- How to define the Room database
- How Room version numbers work
- Obtaining singleton instance of database using a
- Building Room DB instance using
- Why you should use the
applicationContextinstead of an Activity context
Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty