public void onScrollStateChanged(int state) {
super.onScrollStateChanged(state);
mLoadingListener.onLoadMore();
}
layoutManager.getItemCount()应该就是所有item的数量
https://blog.csdn.net/qijingwang/article/details/79909120
来源:https://my.oschina.net/u/4000302/blog/3114464