abstract fun onSwipeCompleted(model: T, itemView: View!, position: Int, direction: Int): Unit
Called after #onSwipeReleased(EpoxyModel, View) if the swipe surpassed the threshold to be considered a full swipe. The view will now be animated off screen.
You MUST use this callback to remove this item from your backing data and request a model update.
#clearView(EpoxyModel, View) will be called after this.
model - T: The model representing the view that was being swiped
itemView - View!: The view that was being swiped
position - Int: The adapter position of the model
direction - Int: The direction that the view was swiped. Can be any of , ItemTouchHelper#RIGHT, , ItemTouchHelper#DOWN depending on what swipe directions were enabled.