public static interface WizardDialog.WizardListener
WizardDialog, by using its next-, back- and finish-button. The return values of the
interface's methods allow to take influence on the navigation, e.g. if the currently shown
fragment should be validated.| Modifier and Type | Method and Description |
|---|---|
boolean |
onFinish(int position,
Fragment fragment)
The method, which is invoked, when the user wants to finish the last fragment of the
dialog.
|
boolean |
onNext(int position,
Fragment fragment)
The method, which is invoked, when the user wants to navigate to the next fragment of the
dialog.
|
boolean |
onPrevious(int position,
Fragment fragment)
The method, which is invoked, when the user wants to navigate to the previous frament of
the dialog.
|
boolean onNext(int position,
Fragment fragment)
position - The position of the currently shown fragment as an Integer valuefragment - The currently shown fragment as an instance of the class Fragmentboolean onPrevious(int position,
Fragment fragment)
position - The position of the currently shown fragment as an Integer valuefragment - The currently shown fragment as an instance of the class Fragmentboolean onFinish(int position,
Fragment fragment)
position - The position of the currently shown fragment as an Integer valuefragment - The currently shown fragment as an instance of the class Fragment