lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

androidx.preference

Classes

CheckBoxPreference

A Preference that provides checkbox widget functionality.

DialogPreference

A base class for Preferences that are dialog-based.

DropDownPreference

A ListPreference that presents the options in a drop down menu rather than a dialog.

EditTextPreference

A DialogPreference that shows a EditText in the dialog.

EditTextPreferenceDialogFragment

EditTextPreferenceDialogFragmentCompat

ListPreference

A Preference that displays a list of entries as a dialog.

ListPreferenceDialogFragment

ListPreferenceDialogFragmentCompat

MultiSelectListPreference

A Preference that displays a list of entries as a dialog.

MultiSelectListPreferenceDialogFragment

MultiSelectListPreferenceDialogFragmentCompat

Preference

Represents the basic Preference UI building block displayed by a PreferenceFragmentCompat in the form of a RecyclerView.

PreferenceCategory

Used to group Preference objects and provide a disabled title above the group.

PreferenceDataStore

A data store interface to be implemented and provided to the Preference framework.

PreferenceDialogFragment

Abstract base class which presents a dialog associated with a DialogPreference.

PreferenceDialogFragmentCompat

Abstract base class which presents a dialog associated with a DialogPreference.

PreferenceFragment

Shows a hierarchy of Preference objects as lists.

PreferenceFragmentCompat

Shows a hierarchy of Preference objects as lists.

PreferenceGroup

A container for multiple Preference objects.

PreferenceManager

Used to help create Preference hierarchies from activities or XML.

PreferenceScreen

Represents a top-level Preference that is the root of a preference hierarchy.

PreferenceViewHolder

A RecyclerView.

SeekBarPreference

Preference based on android.

SwitchPreference

A Preference that provides a two-state toggleable option.

SwitchPreferenceCompat

A Preference that provides a two-state toggleable option.

TwoStatePreference

Common base class for preferences that have two selectable states, save a boolean value, and may have dependent preferences that are enabled/disabled based on the current state.