Created
March 16, 2018 01:39
-
-
Save skydoves/8521e37bc00538e853a8643926b02b8b to your computer and use it in GitHub Desktop.
AppDatabase
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 = [(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