It probably means you need to clear the animation when there is none.

However:

There is already a built-in class, ProgressBar, that can show the standard progress "wheel', and it works well with setVisbiblity, leaving no artifacts. Perhaps you could just use that? An added benefit is that you'll get vendor-specific customizations automatically.

-- Kostya

13.05.2011 0:43, authorwjf пишет:
Yet the view that gets affected, is not the one being passed into the
function.  Meaning I get the callback to update say row 3, and row 3
updates correctly, but the image in row 7 might change as well.  Not
the text in row 7 though, and the only code that updated the image
view first updates the text view.  And its not always row 7, it might
be some other row or rows or none.  Commenting out these 2 lines:

Animation spinnerAnimation =
AnimationUtils.loadAnimation(getContext(), R.anim.rotate);
spinner.startAnimation(spinnerAnimation);

corrects the weird fragment image appearing on a random list view row,
yet, I also obviously lose my animation.  I believe there has to be
something hanging around or getting reused by the framework to
optimize the image resource utilization but it doesn't appear to be
working correctly.

This image does a good job of showing the behavior I'm experiencing.

http://tinypic.com/view.php?pic=2s1agsp&s=7



--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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

Reply via email to