Skip to content

Instantly share code, notes, and snippets.

@JorgeCastilloPrz
Created December 7, 2014 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JorgeCastilloPrz/2c30822b44f444b987be to your computer and use it in GitHub Desktop.
Save JorgeCastilloPrz/2c30822b44f444b987be to your computer and use it in GitHub Desktop.
InjectedActivity
/**
* Created by jorge on 5/3/14.
*/
public class InjectedActivity extends FragmentActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
((ApplicationClass) getApplicationContext()).inject(this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment