materialsteppers
materialsteppers copied to clipboard
Last onNextButtonHandler method is never called
Hi shivasurya. Congratulations about your materialstepper. I'm using it and I've realize that the onNextButtonHandler method of the last stepper is never called. Is it a bug or I'm doing something wrong?
Thanks
I'll check that and get to you back.actually my example code was working till the last Stepper and shows alert dialog.may be that can help you. https://github.com/shivasurya/materialsteppers/tree/master/example/src/main/java/stepper/ivb/com/example
Hi Shivarsuya. Your example works fine but try to call onNextButtonHandler in the last stepper. It's never reached. :(
share your code base ! let me try it out.
Hi Shivarsuya. I've edited your code example. Only three fragments are launched (textFragment -> FormFragment->Instruction). The Instruction's onNextButtonHandler is never called. Check it out please.
it's serious bug :+1: thanks for reporting ! let me update it soon.as you said the last fragment onNextButtonHandler() is never called.
https://github.com/shivasurya/stepperTest/commit/5810a9c3fa837d7b4d3a00077e790900727a502c fixed the issue - in another repo - will sync soon in next update soon
Thanks!
any other feedbacks to improve ? for communication between fragments i'll update it will Bundle whether onNextButtonHandler is useful ? to validate your UI inputs/Network Service/Long running operations in background.(this design pattern is adaptive for end users ?)
any further inputs will be helpful.i'm modifying some basic and adding new stepper components based on material design docs.
So far everything else is fine. Good job.
Current clone or download of project does not have this fix
Please can u update with the fix