Interface that PreferenceFragment's containing activity should
implement to be able to process preference items that wish to
switch to a specified fragment.
Interface that PreferenceFragment's containing activity should
implement to be able to process preference items that wish to
switch to a new screen of preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.v14.preference\n\nadded in [version 24.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.v14.preference\n==============================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PreferenceFragment.OnPreferenceDisplayDialogCallback](/reference/android/support/v14/preference/PreferenceFragment.OnPreferenceDisplayDialogCallback) | |\n| [PreferenceFragment.OnPreferenceStartFragmentCallback](/reference/android/support/v14/preference/PreferenceFragment.OnPreferenceStartFragmentCallback) | Interface that PreferenceFragment's containing activity should implement to be able to process preference items that wish to switch to a specified fragment. |\n| [PreferenceFragment.OnPreferenceStartScreenCallback](/reference/android/support/v14/preference/PreferenceFragment.OnPreferenceStartScreenCallback) | Interface that PreferenceFragment's containing activity should implement to be able to process preference items that wish to switch to a new screen of preferences. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [EditTextPreferenceDialogFragment](/reference/android/support/v14/preference/EditTextPreferenceDialogFragment) | |\n| [ListPreferenceDialogFragment](/reference/android/support/v14/preference/ListPreferenceDialogFragment) | |\n| [MultiSelectListPreference](/reference/android/support/v14/preference/MultiSelectListPreference) | A [Preference](/reference/android/support/v7/preference/Preference) that displays a list of entries as a dialog. |\n| [MultiSelectListPreferenceDialogFragment](/reference/android/support/v14/preference/MultiSelectListPreferenceDialogFragment) | |\n| [PreferenceDialogFragment](/reference/android/support/v14/preference/PreferenceDialogFragment) | Abstract base class which presents a dialog associated with a [DialogPreference](/reference/android/support/v7/preference/DialogPreference). |\n| [PreferenceFragment](/reference/android/support/v14/preference/PreferenceFragment) | Shows a hierarchy of [Preference](/reference/android/support/v7/preference/Preference) objects as lists. |\n| [R](/reference/android/support/v14/preference/R) | |\n| [R.anim](/reference/android/support/v14/preference/R.anim) | |\n| [R.attr](/reference/android/support/v14/preference/R.attr) | |\n| [R.bool](/reference/android/support/v14/preference/R.bool) | |\n| [R.color](/reference/android/support/v14/preference/R.color) | |\n| [R.dimen](/reference/android/support/v14/preference/R.dimen) | |\n| [R.drawable](/reference/android/support/v14/preference/R.drawable) | |\n| [R.id](/reference/android/support/v14/preference/R.id) | |\n| [R.integer](/reference/android/support/v14/preference/R.integer) | |\n| [R.layout](/reference/android/support/v14/preference/R.layout) | |\n| [R.string](/reference/android/support/v14/preference/R.string) | |\n| [R.style](/reference/android/support/v14/preference/R.style) | |\n| [R.styleable](/reference/android/support/v14/preference/R.styleable) | |\n| [SwitchPreference](/reference/android/support/v14/preference/SwitchPreference) | A [Preference](/reference/android/support/v7/preference/Preference) that provides a two-state toggleable option. |\n\n-\n\n Interfaces\n ----------\n\n - [PreferenceFragment.OnPreferenceDisplayDialogCallback](/reference/android/support/v14/preference/PreferenceFragment.OnPreferenceDisplayDialogCallback)\n - [PreferenceFragment.OnPreferenceStartFragmentCallback](/reference/android/support/v14/preference/PreferenceFragment.OnPreferenceStartFragmentCallback)\n - [PreferenceFragment.OnPreferenceStartScreenCallback](/reference/android/support/v14/preference/PreferenceFragment.OnPreferenceStartScreenCallback)\n-\n\n Classes\n -------\n\n - [EditTextPreferenceDialogFragment](/reference/android/support/v14/preference/EditTextPreferenceDialogFragment)\n - [ListPreferenceDialogFragment](/reference/android/support/v14/preference/ListPreferenceDialogFragment)\n - [MultiSelectListPreference](/reference/android/support/v14/preference/MultiSelectListPreference)\n - [MultiSelectListPreferenceDialogFragment](/reference/android/support/v14/preference/MultiSelectListPreferenceDialogFragment)\n - [PreferenceDialogFragment](/reference/android/support/v14/preference/PreferenceDialogFragment)\n - [PreferenceFragment](/reference/android/support/v14/preference/PreferenceFragment)\n - [R](/reference/android/support/v14/preference/R)\n - [R.anim](/reference/android/support/v14/preference/R.anim)\n - [R.attr](/reference/android/support/v14/preference/R.attr)\n - [R.bool](/reference/android/support/v14/preference/R.bool)\n - [R.color](/reference/android/support/v14/preference/R.color)\n - [R.dimen](/reference/android/support/v14/preference/R.dimen)\n - [R.drawable](/reference/android/support/v14/preference/R.drawable)\n - [R.id](/reference/android/support/v14/preference/R.id)\n - [R.integer](/reference/android/support/v14/preference/R.integer)\n - [R.layout](/reference/android/support/v14/preference/R.layout)\n - [R.string](/reference/android/support/v14/preference/R.string)\n - [R.style](/reference/android/support/v14/preference/R.style)\n - [R.styleable](/reference/android/support/v14/preference/R.styleable)\n - [SwitchPreference](/reference/android/support/v14/preference/SwitchPreference)"]]