标签:
很简单,实现OnRefreshListener这个监听器。
mPullRefreshScrollView .setOnRefreshListener(new OnRefreshListener<ScrollView>() { @Override public void onRefresh( PullToRefreshBase<ScrollView> refreshView) { loadData(); } });
刷新完成:
mPullRefreshScrollView.onRefreshComplete();
android 下拉刷新框架PullToRefreshScrollView(com.handmark.pulltorefresh)
标签:
原文地址:http://www.cnblogs.com/Jackie-zhang/p/5249185.html