Skip to content

daniel-waiguru/Room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Room-Database

An app implementing CRUD operations in Room database library using kotlin

Room

Room is a library by google that provide an abstraction layer over SQLite Database that allows fluent data access harnessing the full power of SQLite For more information read Android Documentation

To use Room database in your app you need to;

  • Add Room dependencies in your app's build.hradle file
    //Room Database
    def room_version = "2.2.5"

    implementation "androidx.room:room-runtime:$room_version"
    kapt "androidx.room:room-compiler:$room_version"
    // For Kotlin use kapt instead of annotationProcessor

    // optional - Kotlin Extensions and Coroutines support for Room
    implementation "androidx.room:room-ktx:$room_version"

    

    // Test helpers
    testImplementation "androidx.room:room-testing:$room_version"
    

add kapt kotlin annotation processor plugin

apply plugin: 'kotlin-kapt'

About

An app demo for CRUD operations in Room database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages