public static class ItemSwipeHelper.SwipeItemAnimator
extends DefaultItemAnimator
DefaultItemAnimator extension which overrides default implementation of
animateChange(RecyclerView.ViewHolder, RecyclerView.ViewHolder, int, int, int, int)
in a way that does not cause any drawing artifacts to occur when state of item view for swiped
view holder is about to be restored via ItemSwipeHelper.restoreHolder(RecyclerView.ViewHolder, int, Runnable).
This animator should be used for RecyclerView to which is ItemSwipeHelper attached.
| Constructor and Description |
|---|
SwipeItemAnimator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
animateChange(RecyclerView.ViewHolder oldHolder,
RecyclerView.ViewHolder newHolder,
int fromX,
int fromY,
int toX,
int toY) |