https://github.com/vaibhavmojidra/android-java---demo-room-db
The Room persistence library provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.
https://github.com/vaibhavmojidra/android-java---demo-room-db
android-java androidarchitecturecomponets mojidra room-database room-persistence-library vaibhav vaibhav-mojidra vaibhavmojidra
Last synced: 16 days ago
JSON representation
The Room persistence library provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.
- Host: GitHub
- URL: https://github.com/vaibhavmojidra/android-java---demo-room-db
- Owner: VaibhavMojidra
- Created: 2021-07-05T14:34:14.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-05T14:39:32.000Z (about 4 years ago)
- Last Synced: 2025-04-12T06:48:07.731Z (3 months ago)
- Topics: android-java, androidarchitecturecomponets, mojidra, room-database, room-persistence-library, vaibhav, vaibhav-mojidra, vaibhavmojidra
- Language: Java
- Homepage: https://vaibhavmojidra.github.io/site/
- Size: 322 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android-Java---Demo-Room-DB
- Add all dependencies required for Room DB
- Make a POJO Class i.e object/entity class for the data.( Eg: Student)
- Annotate that class as @Entity Annotation
- Also make any primary key if required @PrimaryKey
- Make a Dao interface to declare all the CRUD methods for entity ( Eg: StudentDAO -> insertStudentRecord(Student obj) )
- Make a Database Abstract Class for database connection (Eg: StudentDatabase)
- Make Repository Class
- Make ViewModel Class



