I have listview in activity which loads some data from server,initial 5 data are visible in listview and when use4r scroll to bottom a reqest is sent to server and loads 5 more data from server the problem is that when new data are added in listview I want listview to to movew on to 1st data out of 5 data which was loaded from server not to bottom.
m_ListView.setSelection(m_ListView.getCount()-1);