Skip to content

yamzzzz/MVPSample

Repository files navigation

MVPSample

Its about how to use MVP pattern for Android Application.

Main Objective:

#Every class should have one dedicated Presenter for it. (1 to 1 relationship)
#All the network calls and Preference calls should be happened in Model class.

My way of using MVP architechture:

  • Presenter should have all Bussiness logics, we are using.
  • Connector Interface acts like a 'Map' for Presenter, where we can know what functions are all happening.
  • All the Network calls, Preference calls will be happened in ModelImpl class.
  • Model Interface will act like a 'Map' for ModelImpl class.

About

A sample for MVP Pattern

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages