public class SlideItemAnimator extends ListViewItemAnimator
RecyclerView.ItemAnimator.AdapterChanges, RecyclerView.ItemAnimator.ItemAnimatorFinishedListener, RecyclerView.ItemAnimator.ItemHolderInfo
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTION_BOTTOM |
static int |
DIRECTION_LEFT |
static int |
DIRECTION_RIGHT |
static int |
DIRECTION_TOP |
ADD, REMOVE
FLAG_APPEARED_IN_PRE_LAYOUT, FLAG_CHANGED, FLAG_INVALIDATED, FLAG_MOVED, FLAG_REMOVED
Constructor and Description |
---|
SlideItemAnimator()
Creates a new instance of SlideItemAnimator.
|
Modifier and Type | Method and Description |
---|---|
int |
getAnimateInDirection()
Gets the current animate in direction that is used by the animator.
|
int |
getAnimateOutDirection()
Gets the current animate out direction that is used by the animator.
|
void |
setAnimateInDirection(int animateInDirection)
Sets a new animate in direction that is used by the animator.
|
void |
setAnimateOutDirection(int animateOutDirection)
Sets a new animate out direction that is used by the animator.
|
animateAdd, animateChange, animateMove, animateRemove, endAnimation, endAnimations, getType, isRunning, onAttached, onDetached, onMeasure, runPendingAnimations, setType
animateAppearance, animateChange, animateDisappearance, animatePersistence, canReuseUpdatedViewHolder, dispatchAddFinished, dispatchAddStarting, dispatchChangeFinished, dispatchChangeStarting, dispatchMoveFinished, dispatchMoveStarting, dispatchRemoveFinished, dispatchRemoveStarting, getSupportsChangeAnimations, onAddFinished, onAddStarting, onChangeFinished, onChangeStarting, onMoveFinished, onMoveStarting, onRemoveFinished, onRemoveStarting, setSupportsChangeAnimations
canReuseUpdatedViewHolder, dispatchAnimationFinished, dispatchAnimationsFinished, dispatchAnimationStarted, getAddDuration, getChangeDuration, getMoveDuration, getRemoveDuration, isRunning, obtainHolderInfo, onAnimationFinished, onAnimationStarted, recordPostLayoutInformation, recordPreLayoutInformation, setAddDuration, setChangeDuration, setMoveDuration, setRemoveDuration
public static final int DIRECTION_LEFT
public static final int DIRECTION_TOP
public static final int DIRECTION_RIGHT
public static final int DIRECTION_BOTTOM
public SlideItemAnimator()
public int getAnimateInDirection()
DIRECTION_RIGHT
public void setAnimateInDirection(int animateInDirection)
DIRECTION_RIGHT
public int getAnimateOutDirection()
DIRECTION_RIGHT
public void setAnimateOutDirection(int animateOutDirection)
DIRECTION_RIGHT