Hello,
I am trying to reuse a single instance of a ProgressDialog by multiple
Tasks (by only changing its displayed message during the
onPrepareDialog callback), but whenever I show the PDLG after a
previous call to dismissDialog, the dialog's indeterminate ProgressBar
is not rotating/animating.
I have tried looking at the code, found how to get to the Drawable and
tried calling
(ProgressBar)PDLG.findViewById(android.R.id.progress).
getIndeterminateDrawable().setVisible(true, true);
in an attempt to restart the animation, but to no avail.
My UGLY workaround for now is to call removeDialog() wherever I would
normally call dismissDialog(), which of course defeats the purpose of
managed dialogs, but at least keeps the animation running..
Thank you for any suggestion/explanation,
-szabolcs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---