I’m looking for a method to update my ListView as my database is updating.
For instance when the app first loads, I asynchronously call my database and perform an insert of all the data (this takes up to 30seconds for all the API calls and inserts to run and is only performed on the first creation of the app). During which time I would like to be able to have the user navigate the app and once they get to a page that requires database information, I want the page to load with the current available data, and continue to update as more information is placed in the database.
At the same time, if a user is on a given page and the database gets updated in the background with additional information for that list, I would like the list to updated.
The async calls to the database are made in a separate class.
Thanks,
Dman
ContentProvider was able to do the trick. Thanks a lot.