Skip to content

Add pull-to-loadmore more to RecyclerViewDemoActivity. #7

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

Closed
wants to merge 2 commits into from

Conversation

htcbug
Copy link
Contributor

@htcbug htcbug commented Aug 25, 2015

@puf

Frank, please review this change which adds a pull-to-loadmore feature to RecyclerViewDemoActivity. It's implemented by updating the query passed in when user scrolls up.

The key change is in FirebaseArray.java. In the onChildAdded() method, I will first test whether the snapshot is already loaded. If it's already loaded we won't load it twice.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@puf
Copy link
Contributor

puf commented Aug 31, 2015

Hi there friendly Googlebot. I did indeed author these commits. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants