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

Try to use scroll to the top the item #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wuhao-ouyang
Copy link

recyclerView .scrollToPosition(int) behaves differently while scrolling up/down
When scrolling up, the labeled item is at top among visible items, but when scrolling down, the item appears at bottom among visible items.

@micHar
Copy link
Contributor

micHar commented Apr 25, 2017

This is actually the intended behavior. If I remember correctly this is how it works in Google apps so I wanted to make it consistent.

@wuhao-ouyang
Copy link
Author

Thanks for your reply!
I tried on my Nexus 5x launcher, settings->apps and Contacts. All seem to place selected item at top of screen.
Or probably adding a recyclerview scroll hookup to make it configurable.

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.

2 participants