Last active
June 14, 2017 21:12
-
-
Save TKolbusz/8f4cff7c7c3cbf7c50bac8881c6e4ca3 to your computer and use it in GitHub Desktop.
Controlling database flow using Room and RxJava2
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 = arrayOf(Item::class), version = 1) | |
abstract class ItemsDatabase : RoomDatabase() { | |
abstract fun itemDao(): ItemDao | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment