code: public final void setMaxHeight(final int maxHeight) {
          if (maxHeight != -1) {
              Condition.INSTANCE.ensureAtLeast(maxHeight, 1, "The maximum height must be at least 1");
          }
  
          this.maxHeight = maxHeight;
          requestLayout();
      }
docs: Sets the maximum height of the view.
  
  @param maxHeight
  The maximum height, which should be set, in pixels as an {@link Integer} value. The
  maximum height must be at least 1 or -1, if no maximum height should be set