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.