onPostExecute not called after completion AsyncTask

前端 未结 8 1739
[愿得一人]
[愿得一人] 2020-12-10 09:56

For some reason my onPostExecute() is not called after my AsyncTask finishes.

My class decleration:

public class setWallpaper

8条回答
  •  感动是毒
    2020-12-10 10:39

    Did you start the task with execute() method? The onPostExecute wouldn't run if you just invoke the doInBackground.

提交回复
热议问题