Last active
July 20, 2016 13:25
-
-
Save frogermcs/bf06beb8b730144de224fdc6bfe8c17d to your computer and use it in GitHub Desktop.
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 final class DaggerAppComponent implements AppComponent { | |
//...AppComponent code... | |
private final class UserProfileActivityComponentImpl implements UserProfileActivityComponent { | |
private final UserProfileActivityComponent.UserProfileActivityModule userProfileActivityModule; | |
private Provider<UserProfileActivity> provideActivityProvider; | |
private Provider<UserProfileActivityPresenter> userProfileActivityPresenterProvider; | |
private MembersInjector<UserProfileActivity> userProfileActivityMembersInjector; | |
private UserProfileActivityComponentImpl( | |
UserProfileActivityComponent.UserProfileActivityModule userProfileActivityModule) { | |
this.userProfileActivityModule = Preconditions.checkNotNull(userProfileActivityModule); | |
initialize(); | |
} | |
private void initialize() { | |
this.provideActivityProvider = DoubleCheck.provider(BaseActivityModule_ProvideActivityFactory.create(userProfileActivityModule)); | |
this.userProfileActivityPresenterProvider = DoubleCheck.provider( | |
UserProfileActivityPresenter_Factory.create( | |
MembersInjectors.<UserProfileActivityPresenter>noOp(), | |
provideActivityProvider, | |
DaggerAppComponent.this.logoutManagerProvider, | |
DaggerAppComponent.this.userManagerProvider) | |
); | |
this.userProfileActivityMembersInjector = UserProfileActivity_MembersInjector.create( | |
DaggerAppComponent.this.logoutManagerProvider, | |
DaggerAppComponent.this.userManagerProvider | |
userProfileActivityPresenterProvider) | |
); | |
} | |
@Override | |
public UserProfileActivity inject(UserProfileActivity activity) { | |
userProfileActivityMembersInjector.injectMembers(activity); | |
return activity; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment