public class DragDropUtil
extends java.lang.Object
| Constructor and Description |
|---|
DragDropUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bindDragHandle(RecyclerView.ViewHolder holder,
IExtendedDraggable item)
this functions binds the view's touch listener to start the drag via the touch helper...
|
static void |
onMove(ItemAdapter itemAdapter,
int oldPosition,
int newPosition) |
public static void bindDragHandle(RecyclerView.ViewHolder holder,
IExtendedDraggable item)
holder - the view holderholder - the itempublic static void onMove(ItemAdapter itemAdapter,
int oldPosition,
int newPosition)