interface EpoxySwipeCallback<T : EpoxyModel<Any!>!> : BaseEpoxyTouchCallback<T>
For use with EpoxyModelTouchCallback
abstract fun onSwipeCompleted(model: T, itemView: View!, position: Int, direction: Int): Unit
Called after |
|
abstract fun onSwipeProgressChanged(model: T, itemView: View!, swipeProgress: Float, canvas: Canvas!): Unit
Once a view has begun swiping with |
|
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 |
|
abstract fun onSwipeStarted(model: T, itemView: View!, adapterPosition: Int): Unit
Called when the view switches from an idle state to a swiped state, as the user begins a swipe interaction with it. You can use this callback to modify the view to indicate it is being swiped. |
abstract class EpoxyModelTouchCallback<T : EpoxyModel<Any!>!> : EpoxyTouchHelperCallback, EpoxyDragCallback<T>, EpoxySwipeCallback<T>
A wrapper around |
|
abstract class SwipeCallbacks<T : EpoxyModel<Any!>!> : EpoxySwipeCallback<T> |