允许上下两方向刷新的SwipeRefreshLayout扩展。
2016-11-18 本文已影响37人
Afunnyrainman
添加依赖
compile 'com.github.orangegangsters:swipy:1.1.0@aar'

使用方法:
在xml中加入

上方是获得是上拉加载还是下拉刷新的手势

上方代码是在代码和xml中设置手势限定
原文链接:http://www.open-open.com/lib/view/open1426140864170.html