이제 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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