Skip to content Skip to sidebar Skip to footer

Trouble With Sharedpreferences Conflicting During App Operation And Then Disappearing Entirely After An App Force Close/reboot Of Device

As the title suggest my problem is that some SharedPreferences I'm using are conflicting while the app operates, for example they seem to just be over writing each overs values, an

Solution 1:

Oh!

publicstaticString USERSCORE;
publicstaticString EXTRAWORDS;

where you initialized these keys..?? :)

make it like this

publicstaticString USERSCORE="USERSCORE";
publicstaticString EXTRAWORDS="EXTRAWORDS";`

Post a Comment for "Trouble With Sharedpreferences Conflicting During App Operation And Then Disappearing Entirely After An App Force Close/reboot Of Device"