Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you’ll learn how to set up a Room database. You’ll create a table, which is the set of all rows. You’ll create entities or properties, the same entity for each row. You’ll also create a DAO interface that provides methods to interact with the database. Finally, you’ll learn how to add the DAO to your database and provide an instance of the DAO using Koin.

Your key objectives for this lesson are:

  • To create tables.
  • To create entities.
  • To create DAOs.
See forum comments
Download course materials from Github
Previous: Quiz: Define a Room Database Next: Introduction to Tables & Entities