DEV Community

Discussion on: Should I pass a View to a Presenter's constructor?

Collapse
 
socratesdz profile image
Sócrates Díaz

I once had the same doubts and discussed it with my peers. Thanks to that discussion we came to the conclusion that if you're using Dependency Injection, then you should use the attach method, simply because you can't inject a view which extends an Android activity.