Room(Jetpack)

Room

1-Entities (Model )

def roomVersion = "2.4.0"implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
implementation "androidx.room:room-ktx:roomVersion"
note : For kapt add in plugins -> id 'kotlin-kapt'

2-DAO (Data Access Object)

3-Database

def koinVersion = "3.1.2"implementation "io.insert-koin:koin-core:$koinVersion"
implementation "io.insert-koin:koin-android:$koinVersion"
implementation "io.insert-koin:koin-android-compat:$koinVersion"

Module

Application

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store