Fancy drag

This commit is contained in:
MrLetsplay 2021-06-28 21:30:45 +02:00
parent 514e987cf2
commit 3e6165f638

View File

@ -64,7 +64,7 @@ public class ListAdapter extends RecyclerView.Adapter<ListAdapter.ListItemViewHo
public void swap(int idx1, int idx2) {
Collections.swap(objects, idx1, idx2);
notifyDataSetChanged();
notifyItemMoved(idx1, idx2);
}
public View createView(int listViewItemType, ViewGroup parent) {