code: public final void setItemEnabled(final int index, final boolean enabled) {
          AbstractItem item = items.get(index);
  
          if (item instanceof Item) {
              ((Item) item).setEnabled(enabled);
              rawItems = null;
              notifyOnDataSetChanged();
          }
      }
docs: Sets, whether the item at a specific index should be enabled, or not.
  
  @param index
  The index of the item as an {@link Integer} value
  @param enabled
  True, if the item should be enabled, false otherwise