title: How do I do something when an animation finishes?
body: <p>I have an <code>ImageView</code> that I use to show progress via an <code>AnimationDrawable</code>.  When I want to show my progress spinner, I do this:</p>
  
  <pre><code>animDrawable.start();
  ObjectAnimator.ofFloat(view, "alpha", 1.0f).setDuration(300).start();
  </code></pre>
  
  <p>When I want to hide the spinner, I do this:</p>
  
  <pre><code>ObjectAnimator.ofFloat(view, "alpha", 0.0f).setDuration(300).start();
  animDrawable.stop();
  </code></pre>
  
  <p>However, this has the effect that the animation stops immediately.  I would like it to stop only after the <code>ObjectAnimator</code> has completely faded to 0.0 alpha.  Is there a way I can setup something along the lines of an "AnimationCompleted" callback?</p>