I am using the MVP pattern in an Andorid app, and I have doubts about where is the best place to test your Internet connection. I usually check if there is an Internet connection before making any kind of network call.
So where should I check this in Activity or in Presenter ? I think the Presenter will be a good place, so he decides what to do, however, I'm not 100% sure. If I have to put it in action and not make a call to the Leader.
android mvp
Jose M Lechon
source share