-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing Singleton Pattern #21
Comments
That is a good idea. |
Upvote! |
Singleton pattern is mainly used for objects that hold data that is needed across the application. Tinydb currently does not hold much data, its more like a messenger to the default android Shared Preferences. |
Hi, i was thinking that why you haven't implemented singleton pattern for this utility class, so that we can load this class just one time in whole application.
is there any special reason?
(i know that built-in shared preferences object uses singleton pattern by default)
The text was updated successfully, but these errors were encountered: