-
public class EpoxyTouchHelper.DragBuilder4<U extends EpoxyModel>
-
-
Method Summary
Modifier and Type Method Description ItemTouchHelperandCallbacks(EpoxyTouchHelper.DragCallbacks<U> callbacks)Set callbacks to handle drag actions and lifecycle events. -
-
Method Detail
-
andCallbacks
ItemTouchHelper andCallbacks(EpoxyTouchHelper.DragCallbacks<U> callbacks)
Set callbacks to handle drag actions and lifecycle events.
You MUST implement onModelMoved to update your data to reflect an item move.
You can optionally implement the other callbacks to modify the view being dragged. This isuseful if you want to change things like the view background, size, color, etc
-
-
-
-