Closed mrzslr closed 6 years ago
Hi, Yes, you can do it. Please see the sample: https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/ProceedProgrammaticallyActivity.kt and https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/FormStepFragment.kt
there is no implements for OnProceedListener in StepperLayout.
Hi @mohammadreza,
OnProceedListener
is actually an interface defined in the sample app and implemented by https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/ProceedProgrammaticallyActivity.kt in the sample app.
is there any way to call
goToNextStep()
in button click listener in the fragment?fragment onCreateView