public static interface SwipeActionsBehavior.SwipeActionsListener
Modifier and Type | Method and Description |
---|---|
void |
onExecuteFinished(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Called when the swipe content is dismissed.
|
void |
onSwipeEnded(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Called when swipe gesture ends.
|
void |
onSwipeProgressChanged(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Called when the progress of the swipe for the item at the specified position changes.
|
void |
onSwipeStarted(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Called when the swipe gesture starts for the item at the specified position.
|
void |
onSwipeStateChanged(SwipeActionsBehavior.SwipeActionsState oldState,
SwipeActionsBehavior.SwipeActionsState newState)
Called when the swipe state changes.
|
void onSwipeStarted(SwipeActionsBehavior.SwipeActionEvent eventInfo)
eventInfo
- an instance of the SwipeActionsBehavior.SwipeActionEvent
class containing information
about the event.void onSwipeProgressChanged(SwipeActionsBehavior.SwipeActionEvent eventInfo)
eventInfo
- an instance of the SwipeActionsBehavior.SwipeActionEvent
class containing information
about the event.void onSwipeEnded(SwipeActionsBehavior.SwipeActionEvent eventInfo)
eventInfo
- an instance of the SwipeActionsBehavior.SwipeActionEvent
class containing information
about the event.void onExecuteFinished(SwipeActionsBehavior.SwipeActionEvent eventInfo)
eventInfo
- an instance of the SwipeActionsBehavior.SwipeActionEvent
class containing information
about the event.void onSwipeStateChanged(SwipeActionsBehavior.SwipeActionsState oldState, SwipeActionsBehavior.SwipeActionsState newState)
oldState
- a value from the SwipeActionsBehavior.SwipeActionsState
enum representing the old state.newState
- a value from the SwipeActionsBehavior.SwipeActionsState
enum representing the old state.