Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@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