Added in API level 1
Deprecated in API level 29

PreferenceCategory


open class PreferenceCategory : PreferenceGroup
kotlin.Any
   ↳ android.preference.Preference
   ↳ android.preference.PreferenceGroup
   ↳ android.preference.PreferenceCategory

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

Summary

Inherited XML attributes
Inherited constants
Public constructors

PreferenceCategory(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

PreferenceCategory(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
open Boolean

Checks whether this Preference should be enabled in the list.

open Boolean

Checks whether this preference's dependents should currently be disabled.

Protected methods
open Boolean

Prepares a Preference to be added to the group.

Inherited functions