code: public void animateProgressFill(int animateTo) {
          mAnimationHandler.removeMessages(0);
          if (animateTo > mMax || animateTo < 0) {
              throw new IllegalArgumentException(
                      String.format("Animation progress (%d) is greater than the max progress (%d) or lower than 0 ", animateTo, mMax));
          }
          mAnimationHandler.setAnimateTo(animateTo);
          mAnimationHandler.sendEmptyMessage(0);
          invalidate();
      }
docs: Animates a progress fill of the view, using a Handler.
  @param animateTo - the progress value the animation should stop at (0 - MAX)