Open OVERSKY2003 opened 8 years ago
i think you have to update the new version of this library. the new version fixed this problem and nolonger needed to call enableLoadmore
What you said new version is 0.4.0? I find that it is still required to enableLoadmore in 0.4.0 sample code. If the version is above 0.4.0 which is not released, could you please tell me how can I get the newest version of this library? Please tell the detail steps. thank you very much.
I find that loadMore will be called automatically when onCreate After setNormalHeader. After enableLoadmore, itemsCount=2 and maxLastVisiblePosition=1, it will trigger loadMore call. How can I solve it?
mRecyclerView.enableLoadmore(); mAdapter.setCustomLoadMoreView(LayoutInflater.from(mActivity).inflate(R.layout.recycle_bottom_progressbar, null)); mRecyclerView.setOnLoadMoreListener(new UltimateRecyclerView.OnLoadMoreListener() { @Override public void loadMore(int itemsCount, final int maxLastVisiblePosition) { loadMoreData(); } });