Skip to content

Instantly share code, notes, and snippets.

@Axxiss
Created March 9, 2013 23:15
Show Gist options
  • Save Axxiss/5126222 to your computer and use it in GitHub Desktop.
Save Axxiss/5126222 to your computer and use it in GitHub Desktop.
Injection on Activity
@Inject TelephonyManager mTelephonyManager
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
((FinderApplication) getApplication()).getGraph().inject(this);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment