Re: [android-developers] Indeterminate Progress Bar not animating
On Fri, Oct 18, 2013 at 10:56 AM, Bradley O'Hearne <brado@bighillsoftware.com> wrote:
So my question -- how can I get an indeterminate ProgressBar to spin when hidden/displayed again after the first time?
I tried a simple example of showing / hiding a progress bar (on click of a button) and it continues to spin as expected. I would assume your issue is due to a bug somewhere in your code that is not shown here.
I would boil your issue down to it's simplest form: hide and show the progress bar with a button and make sure that works. Then incrementally add code to get back to where it is now. Somewhere along the way you're doing something that's causing the animation to stop.
Also double check logcat for any warnings or errors that might be buried in there.
Good luck.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
I would boil your issue down to it's simplest form: hide and show the progress bar with a button and make sure that works. Then incrementally add code to get back to where it is now. Somewhere along the way you're doing something that's causing the animation to stop.
Also double check logcat for any warnings or errors that might be buried in there.
Good luck.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home