how to perfom smooth scrolling to a position without actually having to see the scrolling taking place in a listview?
<p>I have made an Android application in which i have a <code>ListView</code> and when the list view loads i wish to show the some middle portion of its adapter, hence i am using the <code>smoothScrollTo</code> method in the <code>ListView</code>.</p>

<p>The problem with the above method is that i can see the scrolling take place, which i don't want.</p>

<p>I have tried putting a progressDialog when the scrolling is taking place , but i guess due to load on the UI thread, it never shows up. Hence hiding the scrolling taking place behind a progressdialog is out of the question.</p>

<p>I cannot even put the smoothscrolling code in another thread because only the UI thread can touch the UI elements.</p>

<p>How do i avoid the user from actually seeing the scrolling take place?</p>

<p>thank you in advance.</p>
