使用SwipeToLoadLayout框架注意问题
2017-04-20 本文已影响19人
ThrowException
由于PullToRefresh暂不支持RecyclerView,我放弃了,选择了SwipeToLoadLayout来代替。但是使用的过程中遇到一些问题,记录下来方便以后自查。
- SwipeToLoadLayout的子view最多不能大于3个。
- swipe_refresh_header、swipe_target、swipe_load_more_footer,必须是这样子命名。否则没法正常使用,原因看源码截图:
![](https://img.haomeiwen.com/i2624286/0d97b2c80f0e6100.png)