I have a togglebutton which is not responding to my setChecked(...) method. Here is the code:
mBool = mPrefs.getBoolean(\"buttondefault\", true);
Boolean b =
Because the button's setChecked() method accepts a primitive boolean
as parameter. you're supplying a Boolean
(wrapper class) variable. Normally that should be fine, however it doesn't work on this specific method, so you might need to manually unbox the variable or change the type of mBool to boolean