public void update(int index, int count) {
   for (int i = 0; i < count; i++) {
     mItems.get(index + i).update();
   }
   mAdapterHelper.addUpdateOp(
       new AdapterHelper.UpdateOp(AdapterHelper.UpdateOp.UPDATE, index, count));
 }
 public void remove(int index, int count) {
   for (int i = 0; i < count; i++) {
     mItems.remove(index);
   }
   mAdapterHelper.addUpdateOp(
       new AdapterHelper.UpdateOp(AdapterHelper.UpdateOp.REMOVE, index, count));
 }
 public void add(int index, int count) {
   for (int i = 0; i < count; i++) {
     Item item = new Item();
     mPendingAdded.add(item);
     mItems.add(index + i, item);
   }
   mAdapterHelper.addUpdateOp(
       new AdapterHelper.UpdateOp(AdapterHelper.UpdateOp.ADD, index, count));
 }
 public void move(int from, int to) {
   mItems.add(to, mItems.remove(from));
   mAdapterHelper.addUpdateOp(new AdapterHelper.UpdateOp(AdapterHelper.UpdateOp.MOVE, from, to));
 }