publishProgress() method, called from the
doInBackground() method, periodically informs the UI thread about progress of the background process. This method sends information to the UI process. Use this opportunity to send updated information to a progress bar that the user can see.
onProgressUpdate() method runs on the UI thread whenever the
doInBackground() method calls
publishProgress(). This method receives information from the background process. Use this...
- 1. Threading and Asynchronous Processing
- from Advanced Android™ Application Development, Fourth Edition
- Publisher: Addison-Wesley Professional
- Released: November 2014
On progress update - Asynctask
Share this highlighthttp://learning.oreilly.com/a/advanced-androidtm-application/44027/