Android two AsyncTasks serially or parallel execution? - The second is freezing but the result is ok

前端 未结 3 584
深忆病人
深忆病人 2020-12-31 06:15

I run two AsyncTask tasks in my Android application which are from the same class but with different parameters. For example:

new myAsynckTask(a,b,c).execute         


        
3条回答
  •  醉梦人生
    2020-12-31 06:58

    The answer to your question is: it totally depends on what version of Android you're running this on, and is a huge problem I've faced in several applications.

    You should check out this link if you want to see how to run them correctly

提交回复
热议问题