Back to project page HydraListAndroid.
The source code is released under:
Apache License
If you think the Android project HydraListAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.fada21.android.hydralist.dragable.interfaces; //from w w w. ja va2 s. co m import android.widget.BaseAdapter; public interface Swappable { /** * Swaps elements in ordered adapter. Should invoke {@link BaseAdapter#notifyDataSetChanged()} after swap completed * * @param indexOne * @param indexTwo */ void swap(int indexOne, int indexTwo); }