Skip to content

1.7.4 - Better out-of-the-box performance, improved state handling

Compare
Choose a tag to compare
@davidganster davidganster released this 18 Oct 13:52
· 21 commits to master since this release
f35a0f8

AdditiveAnimator now knows which animations require a call to requestLayout and will just call invalidate for animations which don't require it.

This change deprecates skipRequestLayout, since it is no longer needed and therefore comes with a nice automatic performance improvement.

Another improvement was made regarding animation state handling:
States no longer require an id property, since they are now checked for equality instead.
Important: You should not reuse AnimationState objects for multiple animations since that can cause race conditions when triggering their respective AnimationEndAction when quickly toggling between states.