UltimateRecyclerView icon indicating copy to clipboard operation
UltimateRecyclerView copied to clipboard

上拉加载loading不显示

Open ZhengTaiChen opened this issue 8 years ago • 3 comments

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();

}

ZhengTaiChen avatar Sep 19 '16 08:09 ZhengTaiChen

Do you mean that the loading more view do not appear at the first time but the loading method will execute?

cymcsg avatar Sep 19 '16 08:09 cymcsg

是的,数据加载成功了。只是下面的loading没有显示出来

ZhengTaiChen avatar Sep 19 '16 09:09 ZhengTaiChen

yes,I have also encountered the same problem

selfimprW avatar Mar 12 '17 05:03 selfimprW