TakuSemba / MultiSnapRecyclerView

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

New Feature as requirement #26

Open UmairAhmed420 opened 3 years ago

UmairAhmed420 commented 3 years ago

Hi, Can you disable multiple scrolling of items...?

TakuSemba commented 3 years ago

Do you mean you want to scroll one by one? If so, you can archive by setting msrv_interval=1.

UmairAhmed-Native commented 3 years ago

I did it and if i swipe pretty fast two items getting swipe not one

UmairAhmed420 commented 3 years ago

@TakuSemba I did it and if i swipe pretty fast two items getting swipe not one

TakuSemba commented 3 years ago

Yea, that's because you scrolled overly more than 2 items at once (the speed doesn't matter). Unfortunately, there is no way to force it to scroll one by one. It might scroll multiple items if you overly scroll through multiple items, otherwise, the scroll goes back and gets weird.

UmairAhmed-Native commented 3 years ago

But there is a library in which it allows to scroll one by one but i couldnt understand that code ..... So i thought you may help over this :-(