Where should I store my widget's preferences on the Configuration page on Android?
-
26-09-2019 - |
Question
^Question^
I think that it would be too complex to open a database. Does using shared preferences make my app's data size become big. Is there a temporary storage place for my data or should I delete the data in the shared preferences for that widget.
Short code samples are very appreciated :)
Thank you
Solution
It looks like it doesn't really take a lot of space :) I tested with 14 widgets on the home screen with different combinations of my big data. Only about 4KB after testing for a month while adding and replacing widgets. Should be no problem!
If smith posts his comment as an answer, i will mark him as correct
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow