public abstract class

BaseItemAnimationManager

extends Object
java.lang.Object
   ↳ com.h6ah4i.android.widget.advrecyclerview.animator.impl.BaseItemAnimationManager<T extends com.h6ah4i.android.widget.advrecyclerview.animator.impl.ItemAnimationInfo>
Known Direct Subclasses
Known Indirect Subclasses

Summary

Nested Classes
class BaseItemAnimationManager.BaseAnimatorListener  
Fields
protected final List<RecyclerView.ViewHolder> mActive
protected final List<List<T extends ItemAnimationInfo>> mDeferredReadySets
protected final BaseItemAnimator mItemAnimator
protected final List<T extends ItemAnimationInfo> mPending
Public Constructors
BaseItemAnimationManager(BaseItemAnimator itemAnimator)
Public Methods
void cancelAllStartedAnimations()
abstract void dispatchFinished(T info, RecyclerView.ViewHolder item)
abstract void dispatchStarting(T info, RecyclerView.ViewHolder item)
void endAllDeferredReadyAnimations()
void endAllPendingAnimations()
void endDeferredReadyAnimations(RecyclerView.ViewHolder item)
void endPendingAnimations(RecyclerView.ViewHolder item)
abstract long getDuration()
boolean hasPending()
boolean isRunning()
boolean removeFromActive(RecyclerView.ViewHolder item)
void runPendingAnimations(boolean deferred, long deferredDelay)
abstract void setDuration(long duration)
Protected Methods
final boolean debugLogEnabled()
void dispatchFinishedWhenDone()
void endAnimation(RecyclerView.ViewHolder holder)
abstract boolean endNotStartedAnimation(T info, RecyclerView.ViewHolder item)
void enqueuePendingAnimationInfo(T info)
abstract void onAnimationCancel(T info, RecyclerView.ViewHolder item)
abstract void onAnimationEndedBeforeStarted(T info, RecyclerView.ViewHolder item)
abstract void onAnimationEndedSuccessfully(T info, RecyclerView.ViewHolder item)
abstract void onCreateAnimation(T info)
void resetAnimation(RecyclerView.ViewHolder holder)
void startActiveItemAnimation(T info, RecyclerView.ViewHolder holder, ViewPropertyAnimatorCompat animator)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final List<RecyclerView.ViewHolder> mActive

protected final List<List<T extends ItemAnimationInfo>> mDeferredReadySets

protected final BaseItemAnimator mItemAnimator

protected final List<T extends ItemAnimationInfo> mPending

Public Constructors

public BaseItemAnimationManager (BaseItemAnimator itemAnimator)

Public Methods

public void cancelAllStartedAnimations ()

public abstract void dispatchFinished (T info, RecyclerView.ViewHolder item)

public abstract void dispatchStarting (T info, RecyclerView.ViewHolder item)

public void endAllDeferredReadyAnimations ()

public void endAllPendingAnimations ()

public void endDeferredReadyAnimations (RecyclerView.ViewHolder item)

public void endPendingAnimations (RecyclerView.ViewHolder item)

public abstract long getDuration ()

public boolean hasPending ()

public boolean isRunning ()

public boolean removeFromActive (RecyclerView.ViewHolder item)

public void runPendingAnimations (boolean deferred, long deferredDelay)

public abstract void setDuration (long duration)

Protected Methods

protected final boolean debugLogEnabled ()

protected void dispatchFinishedWhenDone ()

protected void endAnimation (RecyclerView.ViewHolder holder)

protected abstract boolean endNotStartedAnimation (T info, RecyclerView.ViewHolder item)

protected void enqueuePendingAnimationInfo (T info)

protected abstract void onAnimationCancel (T info, RecyclerView.ViewHolder item)

protected abstract void onAnimationEndedBeforeStarted (T info, RecyclerView.ViewHolder item)

protected abstract void onAnimationEndedSuccessfully (T info, RecyclerView.ViewHolder item)

protected abstract void onCreateAnimation (T info)

protected void resetAnimation (RecyclerView.ViewHolder holder)

protected void startActiveItemAnimation (T info, RecyclerView.ViewHolder holder, ViewPropertyAnimatorCompat animator)