Update progressbar from AsyncTaskLoader?

前端 未结 6 1686
粉色の甜心
粉色の甜心 2021-01-31 05:30

When using a AsyncTaskLoader how would you update a progressbar showing the status as it is being updated? Normally you wait for the callback to remove when done, but how to do

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 06:14

    Going off @garmax's answer, I found a site that showed how to combine AsyncTaskLoaders with Fragments on: http://habrahabr.ru/post/131560/

    It's in Russian, but I might post my implementation of it later.

    EDIT: Here's a link to the ZIP containing that implementation: http://www.2shared.com/file/VW68yhZ1/SampleTaskProgressDialogFragme.html

提交回复
热议问题