Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setOnLoadMoreListener #52

Closed
xiaogu-space opened this issue May 27, 2015 · 6 comments
Closed

setOnLoadMoreListener #52

xiaogu-space opened this issue May 27, 2015 · 6 comments

Comments

@xiaogu-space
Copy link

i use it like this,but it doen't work

 rv_mycre.setOnLoadMoreListener(new UltimateRecyclerView.OnLoadMoreListener() {
        @Override
        public void loadMore(int i, int i2) {
           // fg_recommend_presenter.getRcdPost(lasId);
        }
    });

I want know how to use it

@xiaogu-space
Copy link
Author

it dont show progress bar

@cymcsg
Copy link
Owner

cymcsg commented May 27, 2015

You should also use ultimateRecyclerView.enableLoadmore(); before setOnLoadMoreListener.

@xiaogu-space
Copy link
Author

it is work ultimateRecyclerView.enableLoadmore();
but it don't show progressbar.I want know how to add progressbar

@cymcsg
Copy link
Owner

cymcsg commented May 27, 2015

You can use setCustomLoadMoreView to use your custom loading more view.
You can try add more item in your adapter at first.

@xiaogu-space
Copy link
Author

Good,all the things is OK, Come on.

@jjhesk
Copy link
Collaborator

jjhesk commented Feb 3, 2016

#276 this should be done for the load more issue. @gushoubang

@jjhesk jjhesk closed this as completed Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants