Reputation: 41076
I have a listview which has 10 items , only 5 items are visible , View has to be scrolled down to see the rest. Listview by default does autoscroll when I reach the bottom of the view.
But I want to disable this auto scroll as I am having my own implementation of scroll using
listview.setSelection(position);
So the question is how to stop autoscroll in ListView ?
Upvotes: 1
Views: 4348
Reputation: 12216
sdk since 9 has:
listView.setOverScrollMode(View.OVER_SCROLL_NEVER);
and see
Upvotes: 2