Room Database - How to Test Migrations!

preview_player
Показать описание

Join my Community on Discord:

In this video, after we've seen how to create migrations, it is time to test these migrations! You will learn how to use the exported schema to create instances of databases at specific data points to test your database migrations thoroughly!

Room is a Jetpack Persistence library; it provides an abstraction over SQLite, which you can use to save data locally on your device, especially for delivering an offline experience for your users.

In This video series, I demonstrate the basic features of Room Library, starting with the setup, adding entities and Daos, creating converters and database, and completing with some of the Best practices such as Clean Architecture, Repository pattern, and Testing.

👨🏽‍🏭 Who I am:
I'm Younes Charfaoui, a Junior Software Engineer and an Android Developer. I make videos about Android development, Technology, and Productivity for software engineers.

😋 Be My Friend:
Рекомендации по теме
Комментарии
Автор

Thank you. This is a nice clean, modern example.

johngray
Автор

Thanks for explaining that getting a `Dao` is only useful for the latest database version.

chrismargonis