Relative Content

Tag Archive for mvp

Proper Model-View-_____ design

I’ve been reading up about Model View Controller, Model View Presenter, Model View ViewModel, and so on, and generally, the underlying concept seems pretty simple to understand: keep the pretty visuals and sciencey guts as separate and ignorant of each other as possible. No getting the logic peanut butter in the design chocolate; cool, I like that.

How to reuse common code between presenters

In my application there are 2 views both have 70% common fields like name, icon etc. One view is about list( contains 2-3 fields). On clicking the list , the next view which is the details should be called.

Beginner’s UnitTests for MVP Presenter class

In my application, I have a user settings form with roughly 20 checkboxes and a few other controls. The checked state, enabled state and texts of these controls are bound to about 60 properties of the presenter class, which is drawing the information from the model class with the business logic.

Beginner’s UnitTests for MVP Presenter class

In my application, I have a user settings form with roughly 20 checkboxes and a few other controls. The checked state, enabled state and texts of these controls are bound to about 60 properties of the presenter class, which is drawing the information from the model class with the business logic.

Best practices for MVP pattern on Android

my team has had great success introducing MVP and the associated unit tests that go with the presenter.
We are wondering how granular we should make the interaction between the View and the Presenter.

Architecturing my Android app with MVP design pattern

I am developing a Human Activity Recognition android application. Currently, I am at the Design stage where I am designing the architecture of the app. I am using the MVP architecture pattern. I have to note that I am learning how to develop a software architecture while thinking about the design of my app so please take that into account.