onSwipeReleased

open fun onSwipeReleased(model: T, itemView: View)

Called when the user has released their touch on the view. If the displacement passed the swipethreshold then onSwipeCompleted will be called after thisand the view will be animated off screen. Otherwise the view will animate back to its originalposition.

Parameters

model

The model representing the view that was being swiped

itemView

The view that was being swiped