Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created March 16, 2018 01:39
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 skydoves/8521e37bc00538e853a8643926b02b8b to your computer and use it in GitHub Desktop.
Save skydoves/8521e37bc00538e853a8643926b02b8b to your computer and use it in GitHub Desktop.
AppDatabase
@Database(entities = [(History::class), (Follower::class), (GithubUser::class)], version = 2)
abstract class AppDatabase: RoomDatabase() {
abstract fun historyDao(): HistoryDao
abstract fun githubUserDao(): GithubUserDao
abstract fun followersDao(): FollowersDao
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment