Part 2: Android Architecture Component(Room) - Create an Entity class

Опубликовано: 07 Февраль 2026
на канале: Android Pro
115
1

Hello Friends,
Welcome to my channel "Android Pro"

In this video series, I am going to show you how to implement Room database in your project.

Room has major three components.
1. Entity
2. Dao
3. Database

Let's see one by one and implement it -
Entity class annotate as @Entity. In this, class name acts as table name and it's data members acts as column fields.

Application Name:- TodoApp

Steps to follow:-
a. Create a new Android Project and give name as TodoApp
b. Create Entity class and give name as Todo

You can get dependency from here https://developer.android.com/topic/l...