public static interface NavigationPreferenceAdapter.Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onNavigationPreferenceAdded(NavigationPreference navigationPreference)
The method, which is invoked, when a navigation preference has been added.
|
void |
onNavigationPreferenceRemoved(NavigationPreference navigationPreference)
The method, which is invoked, when a navigation preference has been removed.
|
void |
onNavigationPreferenceSelected(NavigationPreference navigationPreference,
android.os.Bundle arguments)
The method, which is invoked, when a navigation preference has been selected.
|
void |
onNavigationPreferenceUnselected()
The method, which is invoked, when a navigation preference has been unselected.
|
boolean |
onSelectNavigationPreference(NavigationPreference navigationPreference)
The method, which is invoked, when a navigation preference is about to be selected.
|
boolean onSelectNavigationPreference(NavigationPreference navigationPreference)
navigationPreference - The navigation preference, which is about to be selected, as an instance of the
class NavigationPreference. The navigation preference may not be nullvoid onNavigationPreferenceSelected(NavigationPreference navigationPreference, android.os.Bundle arguments)
navigationPreference - The navigation preference, which has been selected, as an instance of the class
NavigationPreference. The navigation preference may not be nullarguments - The arguments, which should be passed to the fragment, which is associated with
the navigation preference, as an instance of the class Bundle or null, if
no arguments should be passed to the fragmentvoid onNavigationPreferenceUnselected()
void onNavigationPreferenceAdded(NavigationPreference navigationPreference)
navigationPreference - The navigation preference, which has been added, as an instance of the class
NavigationPreference. The navigation preference may not be nullvoid onNavigationPreferenceRemoved(NavigationPreference navigationPreference)
navigationPreference - The navigation preference, which has been removed, as an instance of the class
NavigationPreference. The navigation preference may not be null