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