code: public void addAll(T... fragments) {
      for (T fragment : fragments) {
        mItems.add(fragment);
      }
      notifyDataSetChanged();
    }
docs: Adds the specified fragments at the end of the array.
  @param fragments