public static interface ItemReorderBehavior.ItemReorderListener
Modifier and Type | Method and Description |
---|---|
void |
onReorderFinished()
Called when reorder is finished.
|
void |
onReorderItem(int positionFrom,
int positionTo)
Called when the item at positionFrom needs to be reordered to positionTo.
|
void |
onReorderStarted(int position)
Called when the reorder starts for the item at the specified position.
|
void onReorderStarted(int position)
position
- the position of the item that is reordered.void onReorderItem(int positionFrom, int positionTo)
positionFrom
- the previous position of the reordered item.positionTo
- the new position of the reordered item.void onReorderFinished()