Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

PreferenceManager.OnNavigateToScreenListener

public static interface PreferenceManager.OnNavigateToScreenListener

androidx.preference.PreferenceManager.OnNavigateToScreenListener


Interface definition for a class that will be called when a PreferenceScreen requests navigation.

Summary

Public methods

abstract void onNavigateToScreen(PreferenceScreen preferenceScreen)

Called when a PreferenceScreen in the tree requests to navigate to its contents.

Public methods

onNavigateToScreen

public abstract void onNavigateToScreen (PreferenceScreen preferenceScreen)

Called when a PreferenceScreen in the tree requests to navigate to its contents.

Parameters
preferenceScreen PreferenceScreen: The PreferenceScreen requesting navigation