I have just recently started working with android development and I am trying to grasp a relatively simple concept I believe. Some background to the question first.
I had recently created a Java program using the MVC design pattern (the view and controller were linked though). In this project, I had a created my own class to be the model, and in my main() function, I simply created a single instance of this model class, which I then passed on to all of my other classes. This allowed every class (and therefore, every view) to have the same model object, and hence, all of the updates done to that model class by different controllers.
I am wondering how this would work in Android's activities? Is it possible for each activity to have a reference to the same, single model class object? For example, lets say I have an android application that has a home page with some stuff on it. On the home page, there is a button that lets you go to a "Settings" page, which starts a new activity that allows the user to change some settings. I would like to be able to pass the model object to the "Settings" activity, have the user make whatever changes are possible on the "Settings" activity, update the model accordingly, so that when I return to the home page, my model object contains these changes.
Is this possible? Am I simply overcomplicating things?