I have an activity that extends PreferenceActivity.
I have in settings.xml 3 checkboxpreferences. If I uncheck the first checkbox, the other 2 to uncheck.
What is the code for that?
I am a new developer, and i'm trying to implement a Settings page in Android, but with not much luck.
I am using CheckBoxPreference, and i'm trying to make some SharedPreferences change when i check/uncheck a CheckBoxPreference.
Here is my…
I am not able to identify the issue with my code and it seems no one face this kind of issue, so not able to track this in stack overflow.
Exception message:
Caused by: java.lang.ClassCastException: android.preference.CheckBoxPreference cannot be…
I am trying to add a basic setting to my app. I would like to change the hint of an EditText in one of my activities if the checkBox is unchecked.
preferences.xml