为什么必须在UI线程上调用
我尝试从后台线程创建任务并调用其execute(Params...),它可以正常工作。
AsyncTask
的方法execute(Params...)
,即使AsyncTask在internalHandler中使用Looper.getMainLooper(),文档documentation中已经说明了这一点?我尝试从后台线程创建任务并调用其execute(Params...),它可以正常工作。