public static interface FlexibleAdapter.OnItemSwipeListener extends FlexibleAdapter.OnActionStateListener
| Modifier and Type | Method and Description |
|---|---|
void |
onItemSwipe(int position,
int direction)
Called when swiping ended its animation and item is not visible anymore.
|
onActionStateChangedvoid onItemSwipe(int position,
int direction)
position - the position of the item swipeddirection - the direction to which the ViewHolder is swiped, one of:
ItemTouchHelper#LEFT,
ItemTouchHelper#RIGHT,
ItemTouchHelper#UP,
ItemTouchHelper#DOWN,