I am suing freely the Singleton pattern and I was wondering; when is enough, enough? These are all of my Singletons for now. I am not using all of them together as some call the others.
Database db = Database.getInstance(this); // wrapper for the library
Realm realm = Realm.getInstance(this); // library I use
AppUtils appUtils = AppUtils.getInstance(this); // app specific functions that manipulate database queries to produce targeted values
Utils utils = Utils.getInstance();
Generator gen = Generator.getInstance(this); // necessary for the library
I was thinking of also doing something like
AppFragments fr = AppFragments.getInstance(this, AttributeCommonInEveryActivity>)
or should I interface it and do BlerpActivity extends BlourpActivity
Finally, to clear any bias that might occur affecting your opinion. I know it seems like that I only use one design pattern, but I am not. I work with design and utility in mind ^_^