PreferenceCategory

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

A container that is used to group similar Preferences. A PreferenceCategory displays a category title and visually separates groups of Preferences. Developer Guides

For information about building a settings screen using the AndroidX Preference library, see Settings.

Summary

Inherited constants
Public constructors
<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!)

Public methods
open Unit

open Boolean

open Unit

open Boolean

Inherited functions

Public constructors

<init>

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

<init>

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

<init>

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

<init>

PreferenceCategory(context: Context!)

Public methods

onBindViewHolder

open fun onBindViewHolder(holder: PreferenceViewHolder!): Unit

isEnabled

open fun isEnabled(): Boolean

onInitializeAccessibilityNodeInfo

open fun onInitializeAccessibilityNodeInfo(info: AccessibilityNodeInfoCompat!): Unit

shouldDisableDependents

open fun shouldDisableDependents(): Boolean