Skip to content

Instantly share code, notes, and snippets.

@larkintuckerllc
Created December 1, 2017 15:16
Show Gist options
  • Save larkintuckerllc/e4e39e7935e6aa2d7a233dc2c8cbee73 to your computer and use it in GitHub Desktop.
Save larkintuckerllc/e4e39e7935e6aa2d7a233dc2c8cbee73 to your computer and use it in GitHub Desktop.
How-to Dagger 2 with Android: Part 3 - 5
...
@Inject Credentials mCredentials;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MyApplication.getAuthComponent().inject(this);
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment