code: public T removeItemAt(int index) {
          T item = get(index);
          removeItemAtIndex(index, true);
          return item;
      }
docs: Removes the item at the given index and calls {@link Callback#onRemoved(int, int)}.
  
  @param index The index of the item to be removed.
  @return The removed item.