Where to go from here?
You now know how to create DAOs to interact with your database. You can download
the final project by opening
the attachment on this chapter, and if you want to learn
more
about DAOs in Room, you can explore the following resources:
• Google's guide, "Accessing data using Room DAOs," found at
https://
developer.android.com/training/data-storage/room/accessing-data
.
• The official
documentation about Room DAOs, found at
https://
developer.android.com/reference/android/arch/persistence/room/Dao
.
In the next chapter, you are finally going to see your UI
working by integrating your
Room database and DAOs with other architecture components such as
Do'stlaringiz bilan baham: