@Override protected void onHandleWrappedAdapterRangeMoved(int fromPosition, int toPosition, int itemCount) { if (shouldCancelDragOnDataUpdated()) { cancelDrag(); } else { super.onHandleWrappedAdapterRangeMoved(fromPosition, toPosition, itemCount); } }
/*package*/ final void onWrappedAdapterRangeMoved( int fromPosition, int toPosition, int itemCount) { if (LOCAL_LOGD) { Log.d( TAG, "onWrappedAdapterRangeMoved(fromPosition = " + fromPosition + ", toPosition = " + toPosition + ", itemCount = " + itemCount + ")"); } onHandleWrappedAdapterRangeMoved(fromPosition, toPosition, itemCount); }