Created
May 19, 2017 08:08
-
-
Save tunitowen/7339d85f204b7750c69fba2a2df46b8b to your computer and use it in GitHub Desktop.
Room-GettingStarted-Database
This file contains 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 = arrayOf(Person::class), version = 1) | |
abstract class MyDatabase : RoomDatabase() { | |
abstract fun personDao(): PersonDao | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment