Nimrodda / WizarDroid

*Deprecated* A lightweight Android library for creating step by step wizards

Home Page:https://wizardroid.codepond.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to override Next button functionality

Zapnologica opened this issue · comments

commented

I want to override the next button functionality in each step.

basically I want to be able to validate my page before allowing the next to actually happen.

I see two options:

@override NextButtonOnClick()
{
 If ValidateForm(){
 super.NextButtonOnClick()
 }
}

alternatively maybe there is a function which I can override which determines if the step can go to the next step.

@Ovverrdie
public boolean canGoToNextStep()
{
return ValdiateForm()
}