title: Android ListView Fly-In Animation
body: <p>I have following animation to fly-in the Items in my ListView:</p>
  
  <pre><code> &lt;set xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
       &lt;translate
           android:duration="500"
           android:fromYDelta="100%p"
           android:toYDelta="0" /&gt;
  
       &lt;alpha
           android:duration="500"
           android:fromAlpha="0.0"
           android:toAlpha="1.0" /&gt;
  
   &lt;/set&gt;
  </code></pre>
  
  <p>And start it by using following at the end of the getView() within my Adapter:</p>
  
  <pre><code>Animation animation = AnimationUtils.loadAnimation(
  MainActivity.myContext, R.anim.push_up_in);
  vi.startAnimation(animation);
  animation = null;  
  </code></pre>
  
  <p><br>
    <strong>What it does:</strong> At the start of the App it flies in the items that will be visible immediately <strong>in one block</strong>.
  By scrolling every new item flies in seperately.</p>
  
  <p><strong>What I want:</strong> Each item shall fly-in seperately <strong>at the start of the app</strong> - just like it happens by scrolling.</p>
  
  <p><strong>What I tried:</strong> Setting the AnimationDuration depending on the Item-Position:</p>
  
  <pre><code>if (position &lt; 6){
  animation.setDuration(500 * position);
  } else  {
  animation.setDuration(100*position);    //Because it get's too slow by staying with 500 * position      
  } 
  </code></pre>
  
  <p>This works more or less - but isn't fluid and also looks strange when the Screen can hold more than 6 items I assume.</p>
  
  <p>Is there a easy way to gain a more fluid flying-in of each item?<br>
  Thanks in advance!</p>