| Interface | Description |
|---|---|
| ItemDragHelper.DragAdapter |
Required interface for adapters which want to support drag feature for theirs
ViewHolders. |
| ItemDragHelper.DragViewHolder |
Required interface for all
ViewHolders which want to support
drag feature for theirs corresponding item views. |
| ItemDragHelper.OnDragListener |
Listener which may be used to receive callbacks about started, finished or
canceled drag gesture for a specific
RecyclerView.ViewHolder instance. |
| ItemSwipeHelper.OnSwipeListener |
Listener which may be used to receive callbacks about started, finished or
canceled swipe gesture for a specific
RecyclerView.ViewHolder instance. |
| ItemSwipeHelper.SwipeAdapter |
Required interface for adapters which want to support swipe feature for theirs
ViewHolders. |
| ItemSwipeHelper.SwipeViewHolder |
Required interface for all
ViewHolders which want to support
swipe feature for theirs corresponding item views. |
| RecyclerViewItemHelper.InteractiveViewHolder |
Required interface for
ViewHolders with which may user interact
via a concrete RecyclerViewItemHelper implementation. |
| Class | Description |
|---|---|
| ItemDragHelper |
A
RecyclerViewItemHelper that may be used to support drag feature for items
displayed in a RecyclerView widget. |
| ItemDragHelper.Interactor |
A
ItemInteractor implementation used by ItemDragHelper to handle drag gesture
related callbacks and to delegate drag events to the view holder that is being dragged and
also to it parent adapter in order to properly move dragged items in the adapter's data set. |
| ItemSwipeHelper |
A
RecyclerViewItemHelper that may be used to support swipe feature for items
displayed in a RecyclerView widget. |
| ItemSwipeHelper.Interactor |
A
ItemInteractor implementation used by ItemSwipeHelper to handle swipe
gesture related callbacks and to delegate swipe events to the view holder that is being swiped. |
| ItemSwipeHelper.SwipeItemAnimator |
A
DefaultItemAnimator extension which overrides default implementation of
ItemSwipeHelper.SwipeItemAnimator.animateChange(RecyclerView.ViewHolder, RecyclerView.ViewHolder, int, int, int, int)
in a way that does not cause any drawing artifacts to occur when state of item view for swiped
view holder is about to be restored via ItemSwipeHelper.restoreHolder(RecyclerView.ViewHolder, int, Runnable). |
| RecyclerViewItemHelper<I extends RecyclerViewItemHelper.ItemInteractor> |
An
ItemTouchHelper implementation that is used as base class by all item helpers from the
Recycler library and is also encouraged to be used as base class by custom helper implementations. |
| RecyclerViewItemHelper.ItemInteractor |
A
ItemTouchHelper.Callback implementation which should be used as base class for
all interactors used by RecyclerViewItemHelper implementations. |
| Annotation Type | Description |
|---|---|
| RecyclerViewItemHelper.Direction |
Defines an annotation for determining supported directions by
ItemTouchHelper API. |
| RecyclerViewItemHelper.Interaction |
Defines an annotation for determining available interaction states for
ItemTouchHelper API. |
| RecyclerViewItemHelper.Movement |
Defines an annotation for determining supported movement flags by
ItemTouchHelper API. |