mEnded is reset to false by a call to setStartTime(), it would appear.

On Wed, Dec 7, 2011 at 8:52 AM, Royston <[email protected]> wrote:
> I have been endeavouring to reuse AlphaAnimation objects in a pool so as to
> limit memory allocation. It would appear that each animation even after
> reset will only call onAnimationEnd the first time it is used. Looking at
> the code this would appear to be because the field boolean "mEnded" is not
> reset by reset(). Is this by design or a bug? Any way around this?
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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