public abstract class

GeneralItemAnimator

extends BaseItemAnimator
java.lang.Object
   ↳ androidx.recyclerview.widget.RecyclerView.ItemAnimator
     ↳ androidx.recyclerview.widget.SimpleItemAnimator
       ↳ com.h6ah4i.android.widget.advrecyclerview.animator.BaseItemAnimator
         ↳ com.h6ah4i.android.widget.advrecyclerview.animator.GeneralItemAnimator
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class androidx.recyclerview.widget.RecyclerView.ItemAnimator
Protected Constructors
GeneralItemAnimator()
Public Methods
boolean animateAdd(RecyclerView.ViewHolder holder)
boolean animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY)
boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY)
boolean animateRemove(RecyclerView.ViewHolder holder)
boolean debugLogEnabled()
boolean dispatchFinishedWhenDone()
void endAnimation(RecyclerView.ViewHolder item)
void endAnimations()
boolean isDebug()
boolean isRunning()
void runPendingAnimations()
void setDebug(boolean debug)
Protected Methods
void cancelAnimations(RecyclerView.ViewHolder item)
ItemAddAnimationManager getItemAddAnimationsManager()
ItemChangeAnimationManager getItemChangeAnimationsManager()
ItemMoveAnimationManager getItemMoveAnimationsManager()
ItemRemoveAnimationManager getRemoveAnimationManager()
boolean hasPendingAnimations()
void onSchedulePendingAnimations()
Schedule order and timing of pending animations.
abstract void onSetup()
void schedulePendingAnimationsByDefaultRule()
void setItemAddAnimationsManager(ItemAddAnimationManager addAnimationsManager)
void setItemChangeAnimationsManager(ItemChangeAnimationManager changeAnimationsManager)
void setItemMoveAnimationsManager(ItemMoveAnimationManager moveAnimationsManager)
void setItemRemoveAnimationManager(ItemRemoveAnimationManager removeAnimationManager)
[Expand]
Inherited Methods
From class com.h6ah4i.android.widget.advrecyclerview.animator.BaseItemAnimator
From class androidx.recyclerview.widget.SimpleItemAnimator
From class androidx.recyclerview.widget.RecyclerView.ItemAnimator
From class java.lang.Object

Protected Constructors

protected GeneralItemAnimator ()

Public Methods

public boolean animateAdd (RecyclerView.ViewHolder holder)

public boolean animateChange (RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY)

public boolean animateMove (RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY)

public boolean animateRemove (RecyclerView.ViewHolder holder)

public boolean debugLogEnabled ()

public boolean dispatchFinishedWhenDone ()

public void endAnimation (RecyclerView.ViewHolder item)

public void endAnimations ()

public boolean isDebug ()

public boolean isRunning ()

public void runPendingAnimations ()

public void setDebug (boolean debug)

Protected Methods

protected void cancelAnimations (RecyclerView.ViewHolder item)

protected ItemAddAnimationManager getItemAddAnimationsManager ()

protected ItemChangeAnimationManager getItemChangeAnimationsManager ()

protected ItemMoveAnimationManager getItemMoveAnimationsManager ()

protected ItemRemoveAnimationManager getRemoveAnimationManager ()

protected boolean hasPendingAnimations ()

protected void onSchedulePendingAnimations ()

Schedule order and timing of pending animations. Override this method to custom animation order.

protected abstract void onSetup ()

protected void schedulePendingAnimationsByDefaultRule ()

protected void setItemAddAnimationsManager (ItemAddAnimationManager addAnimationsManager)

protected void setItemChangeAnimationsManager (ItemChangeAnimationManager changeAnimationsManager)

protected void setItemMoveAnimationsManager (ItemMoveAnimationManager moveAnimationsManager)

protected void setItemRemoveAnimationManager (ItemRemoveAnimationManager removeAnimationManager)