Can't stop/restart AsyncTask

后端 未结 3 1485
执笔经年
执笔经年 2021-01-24 01:36

Please help. I can restart the AsyncTask. App crashes every time, when second call to updatePoi().

Here is my code:

  1. I\'m checking status of task and set

3条回答
  •  鱼传尺愫
    2021-01-24 02:05

    An AsyncTask instance can only be called once. To make a second call, you need to create a new instance.

提交回复
热议问题