Package 

Class EpoxyTouchHelper.DragBuilder4

    • Method Summary

      Modifier and Type Method Description
      ItemTouchHelper andCallbacks(EpoxyTouchHelper.DragCallbacks<U> callbacks) Set callbacks to handle drag actions and lifecycle events.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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