epoxy-adapter / com.airbnb.epoxy / EpoxySwipeCallback / onSwipeReleased

onSwipeReleased

abstract fun onSwipeReleased(model: T, itemView: View!): Unit

Called when the user has released their touch on the view. If the displacement passed the swipe threshold then #onSwipeCompleted(EpoxyModel, View, int, int) will be called after this and the view will be animated off screen. Otherwise the view will animate back to its original position.

Parameters

model - T: The model representing the view that was being swiped

itemView - View!: The view that was being swiped