lmeadors (13) [Avatar] Offline
#1
This chapter seems like a good start, and maybe the topic's too big to fit in a chapter, but it would be awesome to see it extended to show more how to react to events that are not necessarily user triggered.

As an example, instead of a splash screen where be shutdown the app if offline, an activity that was aware of the network status and reacted to it might be more useful.

IMO, the real benefit of the MVP pattern isn't really obvious in the example in the book because it's such a trivial use case.
carlos.sessa (15) [Avatar] Offline
#2
Re: MVP chapter addition?
Thanks for your feedback!
lmeadors (13) [Avatar] Offline
#3
Re: MVP chapter addition?
Would it be useful to inject the presenter into the view using the intent?

That way, you could mock it in your instrumentation tests.

Larry
carlos.sessa (15) [Avatar] Offline
#4
Re: MVP chapter addition?
Sorry, I am not following.
What do you mean?