Open ZhengTaiChen opened 8 years ago
protected void enableLoadMore() { ultimateRecyclerView.setLoadMoreView(R.layout.custom_bottom_progressbar); ultimateRecyclerView.setOnLoadMoreListener((itemsCount, maxLastVisiblePosition) -> { if (myOrderBean != null && myOrderBean.getResult() != null && myOrderBean.getResult().getTotal() > 1) { if (myOrderBean.getResult().getCurrentPageNo() + 1 > myOrderBean.getResult().getPageSize()) {
} else { getListInfo(myOrderBean.getResult().getCurrentPageNo() + 1); //网络请求数据 } } } ); ultimateRecyclerView.reenableLoadmore(); }
Do you mean that the loading more view do not appear at the first time but the loading method will execute?
是的,数据加载成功了。只是下面的loading没有显示出来
yes,I have also encountered the same problem
protected void enableLoadMore() { ultimateRecyclerView.setLoadMoreView(R.layout.custom_bottom_progressbar); ultimateRecyclerView.setOnLoadMoreListener((itemsCount, maxLastVisiblePosition) -> { if (myOrderBean != null && myOrderBean.getResult() != null && myOrderBean.getResult().getTotal() > 1) { if (myOrderBean.getResult().getCurrentPageNo() + 1 > myOrderBean.getResult().getPageSize()) {