I usually use one preference XML file to store all app-wide data. Now I wonder if this is a wrong way to do. When should I use multiple preference files?
After checking my sdcard I found many preference XML files and it seems that many apps use a single preference file as well.
I would suggest the same approach as with software development in general.
High Cohesion and Low Coupling.
Meaning to tie preferences to the module that is responsible for them.
Of course it doesn’t matter if we only talk about ~10 values.