Import MergeAdapter from https://github.com/commonsguy/cwac-merge
If the user drags a list item above the list, it will get put at the top item. If the user drags a list item below the list, it will be put at the bottom. Before, it just canceled the drag-drop action.
Updated to catch an exception in onDismiss.