@Override public boolean isPositionSelected(Position position) {
    return this.index == position.getAbsoluteIndex();
  }
Selector that applies to a single item by its index.
dividers/src/main/java/com/karumi/dividers/selector/SingleItemSelector.java