I have a ListView which displays the results of some search.

When the user makes a new search I repopulate the underlying Array of
an ArrayAdapter and call notifyDataSetChanged(). However, if the user
has previously scrolled down in the ListView then the scrolling is not
then reset to the top - I can see why this is the way it is (to
support incremental changes to the contents).

How to programmatically set the contents to appear at the top of the
ListView?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to