/** * This method dispatches any pending event notifications to the wrapped Callback. You * <b>must</b> always call this method after you are done with editing the SortedList. */ public void dispatchLastEvent() { mBatchingListUpdateCallback.dispatchLastEvent(); }
@Override public void onMoved(int fromPosition, int toPosition) { mBatchingListUpdateCallback.onMoved(fromPosition, toPosition); }
@Override public void onChanged(int position, int count) { mBatchingListUpdateCallback.onChanged(position, count, null); }
@Override public void onRemoved(int position, int count) { mBatchingListUpdateCallback.onRemoved(position, count); }