public interface

OnViewSwapListener

com.sap.cloud.mobile.fiori.misc.interactive.OnViewSwapListener

Summary

Public Methods
abstract void onSwap(View firstView, int firstPosition, View secondView, int secondPosition)
Invoked right before the two items are swapped due to a drag event.

Public Methods

public abstract void onSwap (View firstView, int firstPosition, View secondView, int secondPosition)

Invoked right before the two items are swapped due to a drag event. After the swap, the firstView will be in the secondPosition, and vice versa.

No guarantee is made as to which of the two has a lesser/greater position.