Part: Room, LiveData, and ViewModel ”Android Studio”

Revo Faris Saifuddin
2 min readMay 17, 2019

Task 1: Create the RoomWordsSample app

Task 2: Create the Word entity

Task 3: Create the DAO

Task 4: Use LiveData

Task 5: Add a Room database

Task 6: Create the Repository

Task 7: Create the ViewModel

Task 8: Add XML layouts for the UI

Task 9: Create an Adapter and adding the RecyclerView

Task 10: Populate the database

Task 11: Connect the UI with the data

Task 12: Create an Activity for adding words

Run APP

--

--