pullandloadmoresample a sample show how to use SwipeRefreshLayout and loadmore code 下拉刷新使用android官方标准控件SwipeRefreshLayout,上拉刷新使用自定义封装接口 使用本示例代码,有2个好处: 1)UI设计上遵循android标准,使用官方下拉刷新控件 2)跟第三方上拉下拉刷新库说再见,而且代码精简并做到解耦