Code example for CheckBoxPreference

Methods: isChecked, setSummary