I created a kind of page switcher using the pathview element, which works fine, but if you click enough, it iterates over several pages. I want to know if there is a way to limit my pathview element so that I can only change one index at a time?
Edit:
I do not want to know how I can create my own switch element, I already have a path that works smoothly with the pages behind my finger, etc. All I want to know is how I can limit the pathview to changing only one index at a time.
source
share