private Divider getDivider(Position position) {
    Divider itemDivider = DividerBuilder.fromEmpty().build();

    if (!position.isValid()) {
      return itemDivider;
    }

    int depth = 0;
    for (Layer layer : layers) {
      if (layer.isPositionSelected(position)) {
        itemDivider =
            itemDivider.override(
                layer.getDivider(),
                layer.getDirectionsByPosition(position),
                depth);
      }
      depth += 1;
    }

    return itemDivider;
  }
Returns the divider applied for the selected position taking into account
only the selectors for that position.

@param position Position of the divider
@return Divider for the position, properly resolved
dividers/src/main/java/com/karumi/dividers/DividerMap.java