Created
December 29, 2020 16:41
-
-
Save ericntd/ad170c753e0b20d5fca1dd73143cacd4 to your computer and use it in GitHub Desktop.
Room configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Database( | |
entities = [ | |
//... | |
QuestionEntity::class | |
], | |
//... | |
) | |
abstract class MyDb : RoomDatabase() { | |
//... | |
abstract fun questionDao(): QuestionRoomDao | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment