Skip to content

Room ‐ What is Room Database

Devrath edited this page Oct 14, 2023 · 1 revision

  • Room database is a data persistence layer built on top of the SQLite.
  • This is a library part of the android jetpack.
  • This library provides an abstraction layer built and covered on top of the SQLite database. The abstraction layer helps to harness the full power of SQLite.
  • If you have used SQLite earlier you would understand that there comes a lot of boiler-plate code to achieve the functionalities. The room database solves this using its abstraction layer.
  • It provides easy integration with the android architecture components like live-data, view-model etc.