Update UI from an AsyncTaskLoader

后端 未结 5 1854
庸人自扰
庸人自扰 2021-02-10 01:21

I\'ve converted my AsyncTask to an AsyncTaskLoader (mostly to deal with configuration changes). I have a TextView I am using as a progres

5条回答
  •  隐瞒了意图╮
    2021-02-10 01:45

    In the class in which you implement LoaderManager.LoaderCallback (presumably your Activity), there is an onLoadFinished() method which you must override. This is what is returned when the AsyncTaskLoader has finished loading.

提交回复
热议问题