Can an Android AsyncTask doInBackground be synchronized to serialize the task execution?

前端 未结 4 599
滥情空心
滥情空心 2020-12-03 12:06

Is it possible to make AsyncTask.doInBackground synchronized - or achieve the same result in another way?



        
4条回答
  •  醉酒成梦
    2020-12-03 12:23

    You may want to think about using IntentService instead. It seems like it may be a better fit for your process since it has built in features for queuing.

提交回复
热议问题