I am trying to implement an endless scroll listview but when I call notifyDataSetChanged() the whole list refreshes then the scroll position goes back to the to
notifyDataSetChanged()
You can do it in another way, like this
int position = scrollView.getSelectedItemPosition(); notifyDataSetChanged(); scrollView.setSelection(position);