Created
July 3, 2017 13:59
-
-
Save EfeBudak/ee07d7468f0c073e6b2914c7e21baff8 to your computer and use it in GitHub Desktop.
Dagger 2.11 AppComponent
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
@Singleton | |
@Component(modules = { | |
AndroidInjectionModule.class, | |
AppModule.class, | |
ApiModule.class, | |
ActivityModule.class}) | |
public interface AppComponent { | |
@Component.Builder | |
interface Builder { | |
@BindsInstance | |
Builder application(Application application); | |
AppComponent build(); | |
} | |
void inject(MovieDeciderApplication app); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment