9 plus ones
Shared publicly•View activity
- Good one.Mar 27, 2014
- Just be wary of the boxing/unboxing. It's going to chew through a lot of objects.
Copying my comment from 's related post:
An alternative is to use a ValueAnimator with an update listener which sets the blended text color based on the animated value.
I use this technique a lot in Philm. You could also quite easily adapt it to the old View Animation framework too (for backwards compatibility).Mar 27, 2014
- Ah, I never thought about that aspect. Good point. It's nice to know about ArgbEvaluator regardless just so you can copy/paste the logic. :)Mar 27, 2014
- Mar 27, 2014
Add a comment...