code: public final void setDivider(final int index) {
          Divider divider = new Divider();
          adapter.set(index, divider);
          adaptGridViewHeight();
      }
docs: Replaces the item at a specific index with a divider.
  
  @param index
  The index of the item, which should be replaced, as an {@link Integer} value