Android Room Migration

Android Room Migration

Dec. 12, 2018 by

Scenario 1: keep the database version unchanged — app crashes java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you’ve changed schema but forgot to update the version number. You can simply fix this by increasing the version number. Scenario 2: version

Android Room Database

Android Room Database

Dec. 12, 2018 by

Save data in a local database using Room Room provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite. There are 3 major components in Room: Database: Contains the database holder and serves

Enjoy this blog? Please spread the word :)