recycler-fast-scroll icon indicating copy to clipboard operation
recycler-fast-scroll copied to clipboard

Try to use scroll to the top the item

Open wuhao-ouyang opened this issue 8 years ago • 2 comments

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.

wuhao-ouyang avatar Apr 24 '17 21:04 wuhao-ouyang

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.

micHar avatar Apr 25 '17 04:04 micHar

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.

wuhao-ouyang avatar Apr 26 '17 02:04 wuhao-ouyang