GDG Chicago Android

Google Developers Group

While recently reading some information Google had posted on the MVP design pattern I got curious about how it would look like in real code. The basic idea of this approach is to build one finite piece of testable code and build front ends to it. This allows the business logic to be easily and quickly testable while allowing several types of display. 

The design pattern attempts to follow the pattern discussed in While it is a GWT talk I think the same principles can be applied to Android.

I'll be the first to admit that my android experience is small but being able to break out an application to testable pieces should be a goal for any project. 

My code is found at Click Source -> Browse and look around the trunk for the presenter and the Android and GWT examples. Changing any piece of the presenter will change how both examples behave. 

Any comments or critism is welcome. 

Tags: Android, GWT, MVP

Views: 11506

Reply to This

© 2014   Created by Uki Dominque Lucas.

Badges  |  Report an Issue  |  Terms of Service