App architecture is a consistent plan that needs to be made before the development process starts.
App architecture offers a road map for how the various application components must be set up and connected. It defines how the UI, database and background tasks interact to make the required job possible.
We have used MVC(Model View Control) architecture to build our app.
MVC is known for handling multiple views and huge volumes of data effectively. There are three components in MVC:
- Model: The model contains data about the application. All the information which must be stored or displayed and access specifications are mentioned here.
model.java serves as our model class. - View: View forms the UI part of the app. Views displays model data to the users and allow them to modify the data. The Layouts form the view.
- Controller: The controller handles user requests and controls user navigation within the app. It processes user input. The Activities and the Fragments form the Controller.
Comments
Post a Comment