public boolean isCloserThan(Sublayer sublayer) {
    return getDepth() > sublayer.getDepth();
  }
Representation of a drawable inside a single item.
It holds a depth value to make layer overriding possible.
dividers/src/main/java/com/karumi/dividers/Sublayer.java