ernestoyaquello / VerticalStepperForm

Vertical Stepper Form Library for Android. It follows Google Material Design guidelines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StepperForm show this error "This step has already been initialized"

faisalwaris opened this issue · comments

When i add two stepper view form in same activity the first stepper view working fine in first stepper view i use it as follwoing
verticalStepperForm1
.setup(listner1, stepperClassObject)
.init();
In second stepper view i use it same as above but in same activity. this give me error as "This step has already been initialized"

Why are you using two views of type VerticalStepperFormView in the same activity? In all fairness, I cannot even think of a scenario that would require two of these forms to be placed together. Besides, this library is not really designed for that, so this kind of errors are to be expected in your case. Maybe you could rethink your implementation to avoid using several stepper forms in the same screen?

Given that the issue is caused by your odd usage of the library, I am going to close the issue. However, feel free to ask me if you need any further help!