How to copy database from assets folder with Room Persistence Library for Android
Комментарии: 0
During migration from pardom's ActiveAndroid ORM to Room for Android from Google I came across the following problem. If I have prepopulated database, how can I initialize it from db file located inside assets folder in my project. Fortunately there is a simple solution (some code was copied from ActiveAndroid sources).
Далее...