docs: @SuppressLint("DefaultLocale")
      @Override
      public void setProgress(int progress) {
          if (getParent() instanceof BootstrapProgressBarGroup){
              this.userProgress = 0;
              setMaxProgress(progress);
          }else {
              if (progress < 0 || progress > maxProgress) {
                  throw new IllegalArgumentException(
                          String.format("Invalid value '%d' - progress must be an integer in the range 0-%d", progress, maxProgress));
              }
          }
  
          this.userProgress = progress;
  
          if (animated) {
              startProgressUpdateAnimation();
          }
          else {
              this.drawnProgress = progress;
              invalidate();
          }
  
          ViewParent parent = getParent();
          if (parent != null) {
              if (parent instanceof BootstrapProgressBarGroup) {
                  BootstrapProgressBarGroup parentGroup = (BootstrapProgressBarGroup) parent;
                  parentGroup.onProgressChanged(this);
              }
          }
      }