文件名称:Android代码-PullToRefresh
文件大小:196KB
文件格式:ZIP
更新时间:2022-08-25 21:46:47
Android代码
EE-PullToRefresh 基于Android-PullToRefresh(com.handmark.pulltorefresh),支持gradle引用,扩展了刷新视图控制 gradle引用 compile 'engineer.echo.pulltorefresh.library:EE-PullToRefresh:1.0.0' 使用案例 > 具体请参考Demo 布局文件中 JAVA private void initView() { pullToRefreshRecycleView.setMode(PullToRefreshBase.Mode.BOTH); pullToRefreshRecycleView.setOnRefreshListener(this); pullToRefreshRecycleView.setScrollingWhileRefreshingEnabled(true); } @Override public void onPullDownToRefresh(PullToRefreshBase refreshView) {