public interface RVHAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
onItemDismiss(int position,
int direction)
Called when an item has been dismissed by a swipe.
|
boolean |
onItemMove(int fromPosition,
int toPosition)
Called when an item has been dragged far enough to trigger a move.
|
boolean onItemMove(int fromPosition,
int toPosition)
fromPosition - The start position of the moved item.toPosition - Then resolved position of the moved item.void onItemDismiss(int position,
int direction)
position - The position of the item dismissed.direction - the direction