docs: public void startFlashing(boolean forever, AnimationSpeed speed) {
          Animation fadeIn = new AlphaAnimation(0, 1);
  
          //set up extra variables
          fadeIn.setDuration(50);
          fadeIn.setRepeatMode(Animation.REVERSE);
  
          //default repeat count is 0, however if user wants, set it up to be infinite
          fadeIn.setRepeatCount(0);
          if (forever) {
              fadeIn.setRepeatCount(Animation.INFINITE);
          }
  
          fadeIn.setStartOffset(speed.getFlashDuration());
          startAnimation(fadeIn);
      }