putBoolean
Sets a boolean value in the shared preferences.
Return
true
if the value was set successfully, false
otherwise.
Parameters
key
The name of the preference to modify.
value
The new value for the preference.
Sets a boolean value in the shared preferences.
true
if the value was set successfully, false
otherwise.
The name of the preference to modify.
The new value for the preference.