For my android/java application I came up with the following architecture:
Instead of storing objects as attributes in the classes where they belong to (e.g. view and model stored in the controller), each of my classes only stores a reference to an object named "appgeneral". The appgeneral object then contains all the objects as attributes for the whole application (e.g. view, model, controller, logging, validator etc.), including all data and some general methods such as error reporting. The advantage: When I create new objects, I just need to pass one object reference and store it and then I am able to access all the data and methods from everywhere. No more pain that some operations are not reachable just for design reasons of the application.
On the one hand, I think it is a good idea, but on the other hand, as I am quite new to software development, I am sceptic because I have nobody seen doing it that way.
But are there any serious disadvantages? As I said, I am wondering why not more people do it that way.
Thank you.