public static interface SwipeListViewTouchListener.OnSwipeCallback
SwipeListViewTouchListener
to inform its client
about a successful swipe of one or more list item positions.Modifier and Type | Method and Description |
---|---|
void |
onStartSwipe()
Called when the user begins to swipe the list item.
|
void |
onStopSwipe()
Called when the user stops to swipe the list item.
|
void |
onSwipeLeft(ListView listView,
int[] reverseSortedPositions)
Called when the user has swiped the list item to the left.
|
void |
onSwipeRight(ListView listView,
int[] reverseSortedPositions)
Called when the user has swiped the list item to the right.
|
void onSwipeLeft(ListView listView, int[] reverseSortedPositions)
listView
- The originating ListView
.reverseSortedPositions
- An array of positions to dismiss, sorted in descending
order for convenience.void onSwipeRight(ListView listView, int[] reverseSortedPositions)
listView
- The originating ListView
.reverseSortedPositions
- An array of positions to dismiss, sorted in descending
order for convenience.void onStartSwipe()
void onStopSwipe()