M
- Refers to the model classpublic interface SwipeToDismissListener<M>
Modifier and Type | Method and Description |
---|---|
void |
onItemDismissed(int position,
M item)
This method will be called when an item is dismissed using swipe gesture
|
void onItemDismissed(int position, M item)
position
- Adapter position of the item being removeditem
- Object being removed