1. Gradle:-
https://github.com/supriyaBharti15/RoomDatabaseTest1/blob/master/app/src/main/java/com/example/roomdatabasetest1/activity/EditActivity.java
//support designimplementation "com.android.support:design:29.0.0"
//card viewimplementation "com.android.support:cardview-v7:29.0.0"
//recyclerviewimplementation "com.android.support:recyclerview-v7:29.0.0" //roomimplementation "android.arch.persistence.room:runtime:1.1.1"
annotationProcessor "android.arch.persistence.room:compiler:1.1.1"
testImplementation "android.arch.persistence.room:testing:1.1.1"
Git URL:-https://github.com/supriyaBharti15/RoomDatabaseTest1/blob/master/app/src/main/java/com/example/roomdatabasetest1/activity/EditActivity.java