Why is my field `null` after injection? How do I inject my object?
The above includes both constructor and field injection, but neither done right. The example would behave the same if we removed all the @Inject annotations from MyPresenter since we’re not using any of them. @Provides MyPresenter provideMyPresenter(MyView view) { // no constructor injection, we create the object ourselves! return new MyPresenter(view); } // also no … Read more