title: Android ValueAnimator not working
body: <p>I have this working code in my AsyncTasks class.</p>
  
  <pre><code>protected void onProgressUpdate(Object... values) {
          View view = (View) values[0];
          view_group.addView(view);
  
          view.animate().y(500).setDuration(1000);
      }
  </code></pre>
  
  <p>I tried to change the code to this:</p>
  
  <pre><code>protected void onProgressUpdate(Object... values) {
              View view = (View) values[0];
              view_group.addView(view);
  
              ValueAnimator va = ObjectAnimator.ofInt(view, "y", 500);
              va.setDuration(1000);
              va.start();
              }
  </code></pre>
  
  <p>The View is appearing, but not animated.</p>
  
  <p>What am I missing?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I also tried to put the ValueAnimator code inside an <code>AnimatorListener</code> (with different coordinates of course), so it will run after the first animation finishes, but it didn't work.</p>