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