Android: Handler for AsyncTask

后端 未结 2 900
情话喂你
情话喂你 2021-01-25 11:59

I use AsyncTask in combination with a ProgressDialog. See my code, I have a problem in onPostExecute. If the task is running for the first time it get a Null Poiter Exception fo

2条回答
  •  一整个雨季
    2021-01-25 12:20

    See https://stackoverflow.com/a/4538370/719212
    And you should read about onPreExecute() in Android documentation.

提交回复
热议问题