Releases: wirecube/android_additive_animations
Releases · wirecube/android_additive_animations
1.6.1 - then() chaining for staggered animations with multiple targets
then()
chaining now works as expected when targeting multiple views- It also works with staggered animations
- Added some more documentation and cleaned up examples a bit
1.6.0 - syntactic sugar and bugfixes
targets(List objects)
method to apply a set of animations to a list of objects.targets(List objects, long stagger)
method to apply a set of animations to a list of objects, with a delay between each target.cancelAnimations()
method can now take a list of objects.- Breaking: subclasses of
BaseAdditiveAnimator
must now implementgetCurrentPropertyValue()
- look at the documentation of the method for implementation details. - added
SpringInterpolator
class with two sets of default spring parameters (bouncy
andsoft
). - improved demos
Animated objects no longer need to be Views!
This release comes with the ability to animate any custom object.
The new demo fragment shows how to animate custom drawn objects on a canvas.
This came at the cost of a breaking change:
Subclasses of AdditiveAnimator
will need to subclass SubclassableAdditiveViewAnimator
as of v1.5.0.
Also, AdditiveAnimator
doesn't use generics anymore, so this greatly improves interoperability with Kotlin!
1.3.1
Critical bugfix for animating custom fields without Property backing (when overwriting applyCustomProperties()
) in a subclass.