Google 致力于为黑人社区推动种族平等。查看具体举措

CheckBoxPreference

open class CheckBoxPreference : TwoStatePreference
kotlin.Any
   ↳ androidx.preference.Preference
   ↳ androidx.preference.TwoStatePreference
   ↳ androidx.preference.CheckBoxPreference

A Preference that provides checkbox widget functionality.

This preference saves a boolean value.

Summary

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

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

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

<init>(context: Context!)

Public methods
open Unit

Inherited functions