Created
August 13, 2015 00:03
-
-
Save patrykpoborca/e5d2df2939b44ed2fd31 to your computer and use it in GitHub Desktop.
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
public BaseComponent build() { | |
if (localModule == null) { | |
this.localModule = new LocalModule(); | |
} | |
if (networkModule == null) { | |
this.networkModule = new NetworkModule(); | |
} | |
if (applicationComponent == null) { | |
throw new IllegalStateException("applicationComponent must be set"); | |
} | |
return new DaggerBaseComponent(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment