interface EpoxyDragCallback<T : EpoxyModel<Any!>!> : BaseEpoxyTouchCallback<T>
For use with EpoxyModelTouchCallback
abstract fun onDragReleased(model: T, itemView: View!): Unit
Called after |
|
abstract fun onDragStarted(model: T, itemView: View!, adapterPosition: Int): Unit
Called when the view switches from an idle state to a dragged state, as the user begins a drag interaction with it. You can use this callback to modify the view to indicate it is being dragged. |
|
abstract fun onModelMoved(fromPosition: Int, toPosition: Int, modelBeingMoved: T, itemView: View!): Unit
Called after |
abstract class DragCallbacks<T : EpoxyModel<Any!>!> : EpoxyDragCallback<T> |
|
abstract class EpoxyModelTouchCallback<T : EpoxyModel<Any!>!> : EpoxyTouchHelperCallback, EpoxyDragCallback<T>, EpoxySwipeCallback<T>
A wrapper around |