質問

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

役に立ちましたか?

解決

You can just call

mPullToRefreshList.setRefreshing();
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top