docs: public void setMaxProgress(int newMaxProgress) {
          if (getProgress() <= newMaxProgress) {
              maxProgress = newMaxProgress;
          }
          else {
              throw new IllegalArgumentException(
                      String.format("MaxProgress cant be smaller than the current progress %d<%d", getProgress(), newMaxProgress));
          }
          invalidate();
          BootstrapProgressBarGroup parent = (BootstrapProgressBarGroup) getParent();
      }