onSwipeStateChanged

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

Called when the swipe state of the SwipeableListItem changes.

Parameters

newState
activeRevealableListItem

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

revealGravity

The RevealGravity of the revealableListItem.