editor.clear() not clears prefs
xdigit opened this issue · 4 comments
xdigit commented
Hi!
SharedPreferences.Editor editor = sharedPreferences.edit();
editor.clear();
editor.commit();
Not clears anything in my case, maybe some issues with threads, but calling editor.remove("some_string") for every preference do the job
Yazon2006 commented
I can confirm that such problem exists. But I tried reproduce it on new clean project and unfortunatelly for me it worked well. Thats why I decided that problem is in my code but not in BinaryPreferences.
iamironz commented
Can you please show what of version of binary preferences do you use?
Also one little question: can you reproduce this kind of issue on clear project?
xdigit commented
Version 1.0.0-BETA-2
I didn't try with clear project
iamironz commented
Should be fixed in the future release (1.0.0).