This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
Swipe Back/Prev is very sensitive #34
Labels
Comments
Yes, I had to override the built-in ViewPager functionality to capture when the user slides to the next step/previous step and call goNext() or goBack() accordingly. If you comment out this part, it means that no events will be triggered (when the step is exiting, the wizard is finished, etc) and most importantly, the step context won't be persisted so you won't be able to use the data from that step in other steps. Basically, you just disabled all the logic :) check out the code:
|
I have this issue too, I think this should be configurable. For example : wizard.setSwipeable(boolean). |
@virtualvoid you should get the latest version. The issue is fixed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have an EditText on one of my WizardStep pages and when I go to select it to enter text 8 times out of ten it will go to the next/previous wizard step because if the touch moves at all it's interpreted as a swipe.
I've also noticed that I can put my finger on the right most side of my screen and if I swipe left I can go multiple pages in one long swipe left.
I tracked it down to the setOnPageChangeListener in Wizard.java. I cloned the repo and commented out that listener out of curiosity and everything still seems to work.
Did you override the built in ViewPager funtionality for a reason I am not seeing?
The text was updated successfully, but these errors were encountered: