How to set scroll position to top of a listview
I have a listview,I want to refresh it when a button is clicked.My problem is when the scroll postion is at the bottom of listview if I refresh the listview by clearing the adapter, again the scroll position will be at the bottom of the listview.I want the scroll postion to be focused at the top of the listview.
How to set scroll position to top of a listview
===

I have a listview,I want to refresh it when a button is clicked.My problem is when the scroll postion is at the bottom of listview if I refresh the listview by clearing the adapter, again the scroll position will be at the bottom of the listview.I want the scroll postion to be focused at the top of the listview.