下拉刷新:Phoenix-Android

ybw8 9年前

Phoenix-Android 旨在提供一个简单的可定制的下拉刷新功能。

示例代码:

mPullToRefreshView = (PullToRefreshView) findViewById(R.id.pull_to_refresh);  mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {      @Override      public void onRefresh() {          mPullToRefreshView.postDelayed(new Runnable() {              @Override              public void run() {                  mPullToRefreshView.setRefreshing(false);              }          }, REFRESH_DELAY);      }   });

下拉刷新:Phoenix-Android  

项目主页:http://www.open-open.com/lib/view/home/1433400286166

项目主页:http://www.open-open.com/lib/view/home/1433400286166