Skip to content

Instantly share code, notes, and snippets.

@tunitowen
Created May 19, 2017 08:08
Show Gist options
  • Save tunitowen/7339d85f204b7750c69fba2a2df46b8b to your computer and use it in GitHub Desktop.
Save tunitowen/7339d85f204b7750c69fba2a2df46b8b to your computer and use it in GitHub Desktop.
Room-GettingStarted-Database
@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