AsyncTask
2020-09-08 10:43:18 0 举报
AsyncTask
作者其他创作
大纲/内容
sDefaultExecutor:SerialExecutor
:UI Thread
onPostExecute(Resultresult)
:Looper
mWorker:WorkerRunnable
run
new FutureTask(mWorker)
handleMessage
new
loop()
finish(Result result)
:AsyncTask
在类加载时:new
call()
doInBackground(mParams)
onPreExecute()
mFuture:FutureTask
postResult(Result result)
exec.execute(mFuture)
execute(Params... params)
0 条评论
下一页