title: Android RotateAnimation Completed
body: <p>I am working on a <code>RotateAnimation</code>. I started to rotate the image but I want to know when animation completes. How will I know when the animation ends?</p>
  
  <p>Below is my rotation image code.</p>
  
  <pre><code>RotateAnimation rotateanimation = new RotateAnimation(StartPoint,
                      EndPoint, Animation.RELATIVE_TO_SELF, 0.5f,
                      Animation.RELATIVE_TO_SELF, 0.5f);
              rotateanimation.setDuration(1000);
              rotateanimation.setRepeatCount(0);
              rotateanimation.setRepeatMode(Animation.REVERSE);
              rotateanimation.setFillAfter(true);
              rotateImage.setAnimation(rotateanimation);
              rotateanimation.start();
              relative.invalidate();
  </code></pre>