Created
December 7, 2014 16:03
-
-
Save JorgeCastilloPrz/2c30822b44f444b987be to your computer and use it in GitHub Desktop.
InjectedActivity
This file contains hidden or 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
/** | |
* 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