Animation to the last element added to a ListView
<p>I have this codesnippet which initialize a ListView from a <code>SQLite</code> database</p>

<pre><code>  public void RefreshCaseList() {

        lastTenCases = db.getAllCases(7);
        if (lastTenCases.size() &gt; 0)
            error.setText("");

        lastCases.setAnimation((Animation)AnimationUtils.loadAnimation(MainClass.this ,R.anim.push_left_in_80));
        lastCases.setAdapter(new CustomAdapter(MainClass.this, lastTenCases));
        registerForContextMenu(lastCases);
    }
</code></pre>

<p>This method is called each time a new element is added to the database, the following piece of code</p>

<pre><code>lastCases.setAnimation((Animation)AnimationUtils.loadAnimation(MainClass.this ,R.anim.push_left_in_80));
</code></pre>

<p>Will make an animation to the whole List when a new item is added, the list will be pushed in from left. Can anybody give me a hint on how to add animation to only the last element which is created and added to the list?</p>

<p>Many Thanks. </p>
