antoniolg / androidmvp

MVP Android Example
5.94k stars 1.58k forks source link

Add formatter to main presenter #16

Closed danielgomezrico closed 8 years ago

danielgomezrico commented 8 years ago

The idea is to invert responsabilities so presenter dont know which format should be putted to view, just orchestrate' did not match any file(s) known to git.

Also may help to unit test it.

antoniolg commented 8 years ago

We are adding to many concepts here I don't think they help a person that struggles first time with MVP. We could also add dependency injection, but it would only mix too many concepts in this example, which is meant just to support the article linked in the Readme.

Let me know what you think before I close it.

danielgomezrico commented 8 years ago

@antoniolg you are right but maybe those that starts with MVP will stop at some point without knowing how to deal with dependencies, algo with those that require the Context instance.

Maybe mention a list of other great concepts so everyone know what to do next will do the job and let the code clean.