public static interface SwipeDismissRecyclerViewTouchListener.DismissCallbacks
SwipeDismissRecyclerViewTouchListener to inform its
client about a successful dismissal of one or more list item positions.| Modifier and Type | Method and Description |
|---|---|
boolean |
canDismiss(int position)
Called to determine whether the given position can be dismissed.
|
void |
onDismiss(RecyclerView recyclerView,
int[] reverseSortedPositions)
Called when the user has indicated they she would like to dismiss one or more list item
positions.
|
boolean canDismiss(int position)
void onDismiss(RecyclerView recyclerView,
int[] reverseSortedPositions)
recyclerView - The originating ListView.reverseSortedPositions - An array of positions to dismiss, sorted in descending
order for convenience.