SwipeCallback

abstract class SwipeCallback

Callback for changes to the SwipeState of the ListItemCardView.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun onSwipe(@Px swipeOffset: Int)
Called when the position of the SwipeableListItem changes.
Link copied to clipboard
abstract fun <T : View?, RevealableListItem?> onSwipeStateChanged(newState: Int, @NonNull activeRevealableListItem: T, revealGravity: Int)
Called when the swipe state of the SwipeableListItem changes.