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