Reputation: 143
I am using the PullToRefreshListView library from here. When new content is added I am trying to have the view scroll to the bottom. Nothing seems to work. I tried everything mentioned in this answer and used listView.scrollTo(), listView.getRefreshableView().smoothScrollToPosition() etc. but nothing seems to work. Please help.
Upvotes: 0
Views: 718
Reputation: 7936
I am using the same library, scrolling like this always works for me.
listView.getRefreshableView().smoothScrollToPosition(adapter.getCount());
If not works, put your code here, something you are doing is wrong...
Upvotes: 1