I’m using an OnScrollListener to dynamically add items to a ListView when the user scrolls to the bottom. After I add the data to the adapter and call notifyDataSetChanged though, the ListView goes back up to the top. Ideally, I would like to retain the position in the ListView. Any thoughts on how I should go about doing this?
I’m using an OnScrollListener to dynamically add items to a ListView when the user
Share
Could this be what you want?
EDIT 28/09/2017:
The API has changed quite a bit since 2015. It is similar, but now it would be: