How to retain Android ListView scroll position when returning to an activity?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3014089/maintain-save-restore-scroll-position-when-returning-to-a-listview">Maintain/Save/Restore scroll position when returning to a ListView</a>  </p>
</blockquote>



<p>The user views a listview of items, they move to an activity that shows detail for one item, and then hit Back and return to the list activity but I want the list to reflect its prior scroll position.</p>

<p>Should I store the scroll position as a member variable on the activity in onPause or is there a better way?</p>
