
Sometimes we need an application to be prefilled with some data on its first launch. Usually, we would make a REST query and receive the data from backend, but our application is standalone so that the only data source we have is our apk file. In this article I will describe a recipe how to prepopulate Room database with a small data set and how to do it with a few simple steps.
from Anadea Blog https://ift.tt/2C6A8wP