欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

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