GCX-HCI / tray

a SharedPreferences replacement for Android with multiprocess support
Apache License 2.0
2.29k stars 273 forks source link

Q: what's the recommended way to use TrayPreferences ? #111

Closed eggcaker closed 7 years ago

eggcaker commented 7 years ago

Can i use a Singleton Preference for read and write ? or must be new MyPreerence() for every single read and write ?

passsy commented 7 years ago

Reusing the Preference instance is recommended. I wouldn't recommend a singleton but it's up to you