Hey all,
I would like to know if it is possible to get 'leftover' calls to AsyncTask#onProgressUpdate
after AsyncTask#onPostExecute
has been called? I am setting text on the same TextView
using both of them, and I don't want to set text such as "Done!" and then have it overwritten at a later point by text such as "Almost there - 90%"
Also, I am assuming that the onProgressUpdate
method works similar to a SwingWorker
method in that multiple calls to publishProgress
may stack up before a call to onProgressUpdate
occurs. I would really like to know where the "newer" and "older" progress updates are on the parameter - aka are the newest updates at position 0 in the parameter, or at position progress.length
?