NestDBOpenHelper.java and calls to the class do not wait for the database to be populated before continuing
[ NestDBOpenHelper.java ]'s OnCreate
method calls the populateFromFoodKeeperAPI
method which executes 4 Asynchronous task that populate the database. The class does not pause the main thread or provide a way for other classes to check or wait for it's Asynchronous tasks to finish before continuing. This may result in other classes trying to read data from the database before the database can be populated.
[ NestDBOpenHelper.java ] and [ NestDBDataSource.java ] should be updated to provide a way for other classes to wait for the database to be populated before continuing.
Edited by Tyler Sizse