当
AsyncTask完成它的
doInBackground方法,它的职位
Runnable(其中执行我们的
onPostExecute方法)到UI线程。“发布”是指存在某种
Runnable队列,这意味着这些方法(
onPostExecute)将以串行方式(一个接一个)执行。因此,一种
onPostExecute方法不能中断另一种方法(当然,如果它已经发布到UI线程中)。

当
AsyncTask完成它的
doInBackground方法,它的职位
Runnable(其中执行我们的
onPostExecute方法)到UI线程。“发布”是指存在某种
Runnable队列,这意味着这些方法(
onPostExecute)将以串行方式(一个接一个)执行。因此,一种
onPostExecute方法不能中断另一种方法(当然,如果它已经发布到UI线程中)。