TakuSemba / MultiSnapRecyclerView

Android library for multiple snapping of RecyclerView
Apache License 2.0
2.51k stars 302 forks source link

Snap to the clicked item #17

Closed harrylefit closed 4 years ago

harrylefit commented 5 years ago

Hi bro, i've just added a function for snapping to the clicked item. You can check and merge it. Thanks

TakuSemba commented 4 years ago

Hi, thank you for the request.

I'm just wondering if recyclerView.smoothScrollToPosition(position) does not work for your case? It would be helpful if you could give me a situation you want to scroll with SnapHelper?

https://github.com/TakuSemba/MultiSnapRecyclerView/issues/16

TakuSemba commented 4 years ago

Hi, Thank you for the PR.

Though I appreciate you created the PR, I'm closing this because the codebase was already migrated into Kotlin and the conflict is too huge to look at.

Can you check if it works with the way I mentioned in the previous comment? If it still does not work, any PR is welcome.