Last active
July 18, 2017 04:23
-
-
Save oznus/914886cb8373300c36ce59f8ca42afff to your computer and use it in GitHub Desktop.
Mocking UI Application
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 MyAppApplication extends Application { | |
MyAppComponent myAppComponent; | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
myAppComponent = DaggerMyAppComponent.builder() | |
.myAppModule(new MyAppModule()) | |
.build(); | |
} | |
public void setMyAppComponent(MyAppComponent myAppComponent) { | |
this.myAppComponent = myAppComponent; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment