|
|
@@ -137,7 +137,7 @@ public abstract class BaseListFragment2<T> extends BaseFragment {
|
|
|
int totalCount = linearLayoutManager.getItemCount();
|
|
|
Log.e("lastvisi_item_-----", lastVisibleItem+","+totalCount);
|
|
|
|
|
|
- if(newState == RecyclerView.SCROLL_STATE_IDLE && isSlidingToLast){//滑动到了底部
|
|
|
+ if(newState == RecyclerView.SCROLL_STATE_IDLE ){//滑动到了底部
|
|
|
if(ListUtil.size(list) >= per_page*page){
|
|
|
|
|
|
refreshLayout.autoLoadMore();
|