Google 致力于为黑人社区推动种族平等。查看具体举措

OnNavigateToScreenListener

interface OnNavigateToScreenListener
androidx.preference.PreferenceManager.OnNavigateToScreenListener

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

Summary

Public methods
abstract Unit

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

Public methods

onNavigateToScreen

abstract fun onNavigateToScreen(preferenceScreen: PreferenceScreen!): Unit

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

Parameters
preferenceScreen PreferenceScreen!: The PreferenceScreen requesting navigation