belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1
CheckBoxPreference
public
class
CheckBoxPreference
extends TwoStatePreference
java.lang.Object | |||
↳ | android.support.v7.preference.Preference | ||
↳ | android.support.v7.preference.TwoStatePreference | ||
↳ | android.support.v7.preference.CheckBoxPreference |
A Preference
that provides checkbox widget
functionality.
This preference will store a boolean into the SharedPreferences.
Summary
Inherited XML attributes | |
---|---|
![]()
android.support.v7.preference.Preference
|
Inherited constants | ||
---|---|---|
![]()
android.support.v7.preference.Preference
|
Inherited fields | ||
---|---|---|
![]()
android.support.v7.preference.TwoStatePreference
|
Public constructors | |
---|---|
CheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr)
|
|
CheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
|
|
CheckBoxPreference(Context context, AttributeSet attrs)
|
|
CheckBoxPreference(Context context)
|
Public methods | |
---|---|
void
|
onBindViewHolder(PreferenceViewHolder holder)
Binds the created View to the data for this Preference. |
Inherited methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
android.support.v7.preference.TwoStatePreference
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
android.support.v7.preference.Preference
|