-
Notifications
You must be signed in to change notification settings - Fork 554
5.x | AnimatorHelper
Davide Steduto edited this page May 1, 2018
·
9 revisions
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.
ℹ️ 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.
eu.davidea.flexibleadapter.helpers
|_ AnimatorHelper
- Update Data Set
- Selection modes
- Headers and Sections
- Scrollable Headers and Footers
- Expandable items
- Drag&Drop and Swipe
- EndlessScroll / On Load More
- Search Filter
- FastScroller
- Adapter Animations
- Third party Layout Managers
- Payload
- Smooth Layout Managers
- Flexible Item Decoration
- Utils
- ActionModeHelper
- AnimatorHelper
- EmptyViewHelper
- UndoHelper
* = Under revision!