public static interface PreferenceFragmentCompat.OnPreferenceStartScreenCallback
android.support.v7.preference.PreferenceFragmentCompat.OnPreferenceStartScreenCallback |
PreferenceFragment包含的活动应该实现的接口,以便能够处理希望切换到首选项新屏幕的首选项。
Public methods |
|
---|---|
abstract boolean |
onPreferenceStartScreen(PreferenceFragmentCompat caller, PreferenceScreen pref) 当用户点击PreferenceScreen项目以便导航到首选项的新屏幕时调用。 |
boolean onPreferenceStartScreen (PreferenceFragmentCompat caller, PreferenceScreen pref)
当用户点击PreferenceScreen项目以便导航到首选项的新屏幕时调用。
Parameters | |
---|---|
caller |
PreferenceFragmentCompat : The fragment requesting navigation. |
pref |
PreferenceScreen : The preference screen to navigate to. |
Returns | |
---|---|
boolean |
true if the screen navigation has been handled |