Alternative to ListView smoothScrollToPosition()?
<p>I have a ListView that potentially can have hundreds of entries.   When a selection is made I've been using a smoothScrollToPosition, thusly:</p>

<pre><code>if (lv != null) { //Are we created yet?
    lv.post(new Runnable() {
        public void run() {
            lv.smoothScrollToPosition(k);  
        }
    });
}
</code></pre>

<p>but my users have told me they don't like the scrolling animation and would prefer to just instantly go there.   So I replaced my smooth scroll with</p>

<pre><code>lv.setSelection(k);
</code></pre>

<p>... and now it does nothing at all.   FWIW this is all happening right after a  <strong>notifyDatasetChanged</strong></p>

<p>In searching for a solution I came across this discussion on <a href="http://code.google.com/p/android/issues/detail?id=6741" rel="nofollow">http://code.google.com/p/android/issues/detail?id=6741</a>  which implies this is a known problem.   Is there a workaround or am I just doing this wrong?  </p>

<p>Thanks in advance.</p>
