Closed shinkt closed 11 years ago
You can pass the reference to the progressbar in the show method - but that might now work if you rotate the phone. You could communicate between your progressbar and Fragment with some global messages, for example Otto - http://square.github.io/otto/
or you can assign a tag to your ProgressDialog and find it later in your fragment with FragmentManager
Hi, I wonder can this library work with progress bar? Cause this library use builder to create object, so I don't know how to keep progress bar reference to force update progress. I tried using custom dialog with progress bar on create builder method like this one:
And show the dialog
The problem is I don't know how to update the progress to this dialog and dismiss it. Is there any way to do this?