Speed Demon
Speed Demon

Reputation: 691

Automatic pull to refresh in Android on activity start

I am using this library Android-PullToRefresh: https://github.com/chrisbanes/Android-PullToRefresh

It works nice, but I need to implement automatic 'pull to refresh' on activity start, that is having the same visual and functional effect as pulling down the list just triggered automatically instead of user pull gestures. Do you know if I can do this ? Thank you

Upvotes: 1

Views: 2425

Answers (1)

tasomaniac
tasomaniac

Reputation: 10342

You can just call

mPullToRefreshList.setRefreshing();

Upvotes: 3

Related Questions