Skip to content

Instantly share code, notes, and snippets.

@manijshrestha
Created June 3, 2017 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manijshrestha/12f4d1423e29f0b9b1e4b810211314ac to your computer and use it in GitHub Desktop.
Save manijshrestha/12f4d1423e29f0b9b1e4b810211314ac to your computer and use it in GitHub Desktop.
@Database(entities = arrayOf(Task::class), version = 1, exportSchema = false)
abstract class AppDatabase : RoomDatabase() {
abstract fun taskDao(): TaskDao
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment