Need help in using getScrollY() of ListView
<p>I have the following code which recording the scroll Y position in my ListView whenever my activity is paused.</p>

<pre><code>protected void onSaveInstanceState (Bundle outState) {
 super.onSaveInstanceState(outState); 
 int scroll = mListView.getScrollY(); 
 System.out.println (" scrollY" + scroll);
} 
</code></pre>

<p>But regardless where I scroll my ListView vertically, the value of getScrollY() always return 0. Can anyone please help me?</p>

<p>Thank you.</p>
