-
Notifications
You must be signed in to change notification settings - Fork 554
5.x | AnimatorHelper
Davide Steduto edited this page Sep 15, 2016
·
9 revisions
This helper object, simplifies the creation of Animators for simple scrolling animations. It contains:
- alphaAnimator
- scaleAnimator
- slideInFromTopAnimator
- slideInFromBottomAnimator
- slideInFromLeftAnimator
- slideInFromRightAnimator
The methods accept the list of Animators, the view (usually itemView
) and the RecyclerView or the start value property.
You can also add a custom Animator to the list of Animators.
NOTE: All methods automatically add Alpha Animator, to avoid the view is initially displayed at the original position, before animation starts. Alpha animation will help to hide this behavior.
NOTE: ScaleAnimator and shadows (made with elevation) have problems on devices with API >= 23. App will crash with no clue.
- 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!