public interface WizardListener
PreferenceActivity, which is used as wizard, 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 preferences should be validated.| Modifier and Type | Method and Description |
|---|---|
boolean |
onFinish(NavigationPreference navigationPreference,
Fragment fragment,
android.os.Bundle bundle)
The method, which is invoked, when the user wants to finish the last step of the wizard.
|
android.os.Bundle |
onNextStep(NavigationPreference navigationPreference,
Fragment fragment,
android.os.Bundle bundle)
The method, which is invoked, when the user wants to navigate to the next step of the
wizard.
|
android.os.Bundle |
onPreviousStep(NavigationPreference navigationPreference,
Fragment fragment,
android.os.Bundle bundle)
The method, which is invoked, when the user wants to navigate to the previous step of the
wizard.
|
boolean |
onSkip(NavigationPreference navigationPreference,
Fragment fragment,
android.os.Bundle bundle)
The method, which is invoked, when the user wants to skip the wizard.
|
android.os.Bundle onNextStep(NavigationPreference navigationPreference, Fragment fragment, android.os.Bundle bundle)
navigationPreference - The currently selected navigation preference as an instance of the class NavigationPreference. The navigation preference may not be nullfragment - The currently shown preference fragment as an instance of the class Fragment. The
fragment may not be nullbundle - A bundle, which contains the parameters, which have been passed to the currently
shown preference fragment, as an instance of the class Bundle or null, if no
parameters have been passed to the fragmentBundle or null, if navigating to the next step of the wizard should not be allowedandroid.os.Bundle onPreviousStep(NavigationPreference navigationPreference, Fragment fragment, android.os.Bundle bundle)
navigationPreference - The currently selected navigation preference as an instance of the class NavigationPreference. The navigation preference may not be nullfragment - The currently shown preference fragment as an instance of the class Fragment. The
fragment may not be nullbundle - A bundle, which contains the parameters, which have been passed to the currently
shown preference fragment, as an instance of the class Bundle or null, if no
parameters have been passed to the fragmentBundle or null, if navigating to the previous step of the wizard should not be
allowedboolean onFinish(NavigationPreference navigationPreference, Fragment fragment, android.os.Bundle bundle)
navigationPreference - The currently selected navigation preference as an instance of the class NavigationPreference. The navigation preference may not be nullfragment - The currently shown preference fragment as an instance of the class Fragment. The
fragment may not be nullbundle - A bundle, which contains the parameters, which have been passed to the currently
shown preference fragment, as an instance of the class Bundle or null, if no
parameters have been passed to the fragmentboolean onSkip(NavigationPreference navigationPreference, Fragment fragment, android.os.Bundle bundle)
navigationPreference - The currently selected navigation preference as an instance of the class NavigationPreference. The navigation preference may not be nullfragment - The currently shown preference fragment as an instance of the class Fragment. The
fragment may not be nullbundle - A bundle, which contains the parameters, which have been passed to the currently
shown preference fragment, as an instance of the class Bundle or null, if no
parameters have been passed to the fragment