public void addAll(Collection<? extends String> collection) {
    if (collection != null) {
      items.addAll(collection);
      notifyDataSetChanged();
    }
  }
Adapter holding a list of animal names of type String. Note that each item must be unique.
sample/src/main/java/com/timehop/stickyheadersrecyclerview/sample/AnimalsAdapter.java