Skip to content

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