The Main Menu of my app uses AsyncTask to fetch data from a web service, update it on the local database and then populate the data on the Main Menu. I'm able to fetch the data and update it on the local database but i couldn't refresh the UI of the Main Menu so that the updated data can be displayed. How can i refresh the Main Menu by retrieving the data from the local (updated) database?
Helpful links to tutorials and samples is highly appreciated.
Thanks
Use this link:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.