Update UI from an AsyncTaskLoader

后端 未结 5 693
日久生厌
日久生厌 2021-02-10 00:54

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条回答
  •  Happy的楠姐
    2021-02-10 01:55

    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.

提交回复
热议问题