5.x | AnimatorHelper - davideas/FlexibleAdapter GitHub Wiki
This helper object, simplifies the creation of Animators for simple scrolling animations. It contains:
- alphaAnimator
- scaleAnimator
- flipAnimator
- slideInFromTopAnimator
- slideInFromBottomAnimator
- slideInFromLeftAnimator
- slideInFromRightAnimator
The methods accept: the list of Animators; the view (usually itemView
); the RecyclerView or the start value property.
But, you can also add a custom Animator to the list of Animators.
:information_source: Note: All methods automatically add Alpha Animator, to avoid that the view is initially displayed at the original position before animation starts. Alpha animation will help to hide this issue.
⚠️ Warning: ScaleAnimator and shadows projected with elevation, have problems on devices with API >= 23. App will crash with no clue.
Class location :eyeglasses:
eu.davidea.flexibleadapter.helpers
|_ AnimatorHelper