public static interface DragLinearLayout.OnViewSwapListener
DragLinearLayout.setOnViewSwapListener(com.jmedeisis.draglinearlayout.DragLinearLayout.OnViewSwapListener)
to listen for draggable view swaps.| Modifier and Type | Method and Description |
|---|---|
void |
onSwap(android.view.View firstView,
int firstPosition,
android.view.View secondView,
int secondPosition)
Invoked right before the two items are swapped due to a drag event.
|
void onSwap(android.view.View firstView,
int firstPosition,
android.view.View secondView,
int secondPosition)