DEV Community

[Comment from a deleted post]
Collapse
 
groundzerocro profile image
AndroidPie

On my latest project with a dynamic locale change feature, I found that instead of premade room 2.2+ prepopulating data feature, inserting data with a JSON read from assets is more convenient. I could swap data much more easily dynamically. So if my user is offline, and he changes from English to Spanish in Settings of an app, preloaded data will also be changed by simple @Delete @Insert(SELECT * ..) logic.