title: How to use ValueAnimator#ofFloat
body: <p>I'm so confused as to how ValueAnimator works in Android. Here's a code snippet (pseudo):</p>
  
  <pre><code>Log("animating: ", start, end);
  ValueAnimator animator = ValueAnimator.ofFloat(start, end);
  animator.setUpdateListener(() -&gt; {
      Log("update", animation.getAnimatedFraction());
  });
  animator.start();
  </code></pre>
  
  <p>I see the following in my logs:</p>
  
  <pre><code>animating: 0.0 to 1.0
  update: 0.0
  update: 0.05
  ..
  update: 1.0
  
  animating: 1.0 to 0.0
  update: 0.0 (wtf)
  update: 0.05
  ..
  update: 1.0
  
  animating: 0.5 to 1.0
  update: 1.0 (wtf)
  update: 1.0
  </code></pre>
  
  <p>Can someone explain to me why my update function is getting these strange values?</p>