This guide is for creating custom animations for items in a RecyclerView
. Start by reviewing the RecyclerView guide animation section here.
Animation starts with the RecyclerView.ItemAnimator abstract class. The DefaultItemAnimator (see source code) extends SimpleItemAnimator
which then itself extends RecyclerView.ItemAnimator
.
SimpleItemAnimator (see source code) is a wrapper class for ItemAnimator that makes animation easier.
There are a few examples of how to customize animations using this class:
Check the following custom animators defined:
Stackoverflow Posts
Tutorials