Inherits Fragment.
Base class for a wizard's step. Extend this class to create a step and override onExit(int) to handle input and do tasks before the wizard changes the current step. As with regular Fragment each inherited class must have an empty constructor.
void org.codepond.wizardroid.WizardStep.onAttach |
( |
Activity |
activity | ) |
|
IMPORTANT: This method is overridden to bind the wizard context to the step's fields. Make sure to call super.onAttach(activity), if you override this method in your step class.
void org.codepond.wizardroid.WizardStep.onExit |
( |
int |
exitCode | ) |
|
Called when the wizard is about to go to the next step or the previous step. Override this method to handle input from the step. Possible exit codes are EXIT_NEXT and EXIT_PREVIOUS.
- Parameters
-
exitCode | Code indicating whether the wizard is going to the next or previous step. The value would either be WizardStep.EXIT_NEXT when wizard is about to go to the next step or WizardStep.EXIT_PREVIOUS when wizard is about to go to the previous step. |
final int org.codepond.wizardroid.WizardStep.EXIT_NEXT = 0 |
|
static |
Step exit code when wizard proceeds to the next step
final int org.codepond.wizardroid.WizardStep.EXIT_PREVIOUS = 1 |
|
static |
Step exit code when wizard goes back one step
The documentation for this class was generated from the following file:
- d:/projects/java/wizardroid/wizardroid/src/main/java/org/codepond/wizardroid/WizardStep.java