In my settings, i have multiple multiselectlist preference items where the user can choose different courses. So now i changed the array that is associated with the preference item but i saw, while manually viewing the shared prefs xml file, that the old selected value, which doesn't exist in the entries-array of the updated version, is still saved in the particular string set inside shared prefs.
When i view my settings from inside my app, the multiselectlist item has now all entries unchecked, although there is still that old item saved as mentioned before. Even checking new entries doesn't help, it just adds them to the old value inside the string set xml-item.
This is fatal for my app's behaviour, how can i solve that without the user having to clear all his initially saved settings?
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
stock Recovery
When i view my settings from inside my app, the multiselectlist item has now all entries unchecked, although there is still that old item saved as mentioned before. Even checking new entries doesn't help, it just adds them to the old value inside the string set xml-item.
This is fatal for my app's behaviour, how can i solve that without the user having to clear all his initially saved settings?
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
stock Recovery
0 commentaires:
Enregistrer un commentaire