onSwipeStateChanged

abstract fun <T : View?, RevealableListItem?> onSwipeStateChanged(swipeState: Int, @NonNull revealableListItem: T, revealGravity: Int)

Callback for when the swipe state of the SwipeableListItem changes.

Parameters

swipeState

The new SwipeState of the SwipeableListItem.

revealableListItem

The associated RevealableListItem that is being revealed when swiped. If the new state is STATE_CLOSED, this will be the last active .

revealGravity

The RevealGravity of the revealableListItem.