Architectural Design in android

Why Architectural Design like MVC/MVP ?

MVC/MVP aims to decouple components as much as possible:

As proper MVP and MVC implementations have the following characteristics:

  • Readable and maintainable code
  • Modular code which provides high degree of decoupling
  • More testable code
  • Code which is fun to work with

 

MVC MVP

We various type of Variation in these  patterns

There is no universally unique MVC pattern.

 

Model View Presenter
It divides the app into three layers Model, View, Presenter.

Model: Handles the data part
Presenter:- acts as a bridge between Model and view
View:- Responsible for laying out views with the relevant data as instructed by the Presenter

Note: The View never communicates with Model directly.

 

 

In very detail

 

 

Good one

MVP and MVC Architectures in Android – part 1

 

 

 

Android MVP

 

https://www.linkedin.com/pulse/android-architecture-patterns-1-model-view-controller-ahmed-iraki/

 

https://doridori.github.io/Android-Architecture-MV/#sthash.eYtVW7wU.dpbs

 

MVP in android

http://www.dotnetcurry.com/patterns-practices/1406/flex-vs-mvc-design-patterns

http://www.culttt.com/2012/11/19/what-is-mvc-model-view-controller/

MVP and MVC Architectures in Android – part 1

 

http://www.therealjoshua.com/2011/11/android-architecture-part-4-the-view/

 

https://upday.github.io/blog/model-view-controller/

 

https://drive.google.com/file/d/0B89WEJEqIYOAMVNuVUdENDdXd2M/view

 

https://antonioleiva.com/mvp-android/

https://stackoverflow.com/questions/4916209/which-design-patterns-are-used-on-android/30628530#30628530

Common Design Patterns for Android

 

Android MVP

Posted in Android.