Example usage for Java android.preference TwoStatePreference fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setChecked(boolean checked) Sets the checked state and saves it to the SharedPreferences . |
void | setEnabled(boolean enabled) Sets whether this Preference is enabled. |
void | setOnPreferenceChangeListener(OnPreferenceChangeListener onPreferenceChangeListener) Sets the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated). |
void | setSummary(CharSequence summary) Sets the summary for this Preference with a CharSequence. |