public class ScaleInOutItemAnimator extends BaseItemAnimator
BaseItemAnimator.VpaListenerAdapter
mAddAnimations, mMoveAnimations, mRecyclerView, mRemoveAnimations
构造器和说明 |
---|
ScaleInOutItemAnimator(RecyclerView recyclerView) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
animateAddImpl(RecyclerView.ViewHolder holder) |
boolean |
animateChange(RecyclerView.ViewHolder viewHolder,
RecyclerView.ViewHolder viewHolder2,
int i,
int i2,
int i3,
int i4) |
protected void |
animateRemoveImpl(RecyclerView.ViewHolder holder) |
protected void |
prepareAnimateAdd(RecyclerView.ViewHolder holder) |
void |
setEndScale(float scaleXY) |
void |
setEndScale(float scaleX,
float scaleY) |
void |
setInitialScale(float scaleXY) |
void |
setInitialScale(float scaleX,
float scaleY) |
animateAdd, animateMove, animateMoveImpl, animateRemove, dispatchFinishedWhenDone, endAnimation, endAnimations, isRunning, runPendingAnimations
protected void animateRemoveImpl(RecyclerView.ViewHolder holder)
animateRemoveImpl
在类中 BaseItemAnimator
protected void prepareAnimateAdd(RecyclerView.ViewHolder holder)
prepareAnimateAdd
在类中 BaseItemAnimator
protected void animateAddImpl(RecyclerView.ViewHolder holder)
animateAddImpl
在类中 BaseItemAnimator
public void setInitialScale(float scaleXY)
public void setInitialScale(float scaleX, float scaleY)
public void setEndScale(float scaleXY)
public void setEndScale(float scaleX, float scaleY)
public boolean animateChange(RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder viewHolder2, int i, int i2, int i3, int i4)