chenzhiwei152

Results 3 issues of chenzhiwei152

@Override public void onFinishLoading(boolean hasMoreItems, boolean needSetSelection) { ``` if (getLayoutManager() == null) { return; } if (!hasMoreItems && mLoadMoreFooter != null) { //if it's last line, minus the extra...

我找到这个方法没有作用的原因了: ![qq 20160616145824](https://cloud.githubusercontent.com/assets/8305971/16108012/00691d12-33d3-11e6-9281-fc22553ac770.png) 这是因为该addOnScrollListener()方法执行的RecycleView的方法,并不是自定义的addOnScrollListener(); ![addonscroll](https://cloud.githubusercontent.com/assets/8305971/16108100/8f10743e-33d3-11e6-8900-3b3d4fc90e5c.png) 所以导致自定义的addOnScrollListener()里面给mOnScrollLinstener()赋值失败! ![addonscroll](https://cloud.githubusercontent.com/assets/8305971/16108145/fbf080ee-33d3-11e6-937c-8664a8b839e8.png) 最后自定义的InterOnScrollListener里面的判断进不去,所以方法失效! ![default](https://cloud.githubusercontent.com/assets/8305971/16109015/307726ce-33d9-11e6-8794-9b059726661a.png)

另外的一个会引起这种情况的是 : Android高版本联网失败报错:Cleartext HTTP traffic to xxx not permitted 作者的文档里面并没有适配这个问题,导致相关的内容始终下载不下来 所以添加android:networkSecurityConfig="@xml/network_security_config"这个就可以了, 目前我这是这个情况!