Code example for CheckBoxPreference

Methods: setOnPreferenceClickListenersetChecked