Divider overrideSublayer(Divider override, Direction sourceDirection,
      Direction targetDirection) {
    Divider overridden = new Divider(this);

    if (override.hasSublayer(sourceDirection)) {
      Sublayer overrideSublayer = override.getSublayer(sourceDirection);
      if (!overridden.hasSublayer(targetDirection) || overrideSublayer.isCloserThan(
          overridden.getSublayer(targetDirection))) {
        overridden.sublayers.put(targetDirection, overrideSublayer);
      }
    }

    return overridden;
  }
Representation of how a single item must be rendered.
It makes it possible to specify different drawables for different zones of the item.
dividers/src/main/java/com/karumi/dividers/Divider.java