profile img

Bharat Dwarkani

Aug 26, 2019
bookmarks

linkmedium.com

Let’s say that you want to pre-populate your database with data either packaged in your APK or downloaded from the server. Whether you wanted to do this with SQLite or with Room, there are several things to handle: opening the database, validating the schema, locking the database file and handling thread synchronization, copying all the contents and closing the database.

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
add