Created
June 12, 2016 19:07
-
-
Save frogermcs/397c3aae28921a86eee1318c2276f6b5 to your computer and use it in GitHub Desktop.
ViewHolder and Dagger 2 example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyActivity extends BaseActivity { | |
@Inject MyActivityPresenter presenter; | |
@Override | |
protected void injectDependencies() { | |
getAppComponent().plus(new MyActivityModule(this)).inject(this); | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment