Created
November 8, 2022 07:28
-
-
Save aqua30/31cf6679bcd2ce81261c9ebeda3a4c8b 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
@InstallIn(SingletonComponent.class) | |
@Module( | |
includes = { | |
SheroesAppModule.class, VMModule.class, UseCaseModule.class, | |
ApiModule.class, RepositoryModule.class, AnalyticModule.class | |
} | |
) | |
interface AppModuleComponent{} | |
@InstallIn(SingletonComponent.class) | |
@EntryPoint | |
public interface SheroesAppComponent { | |
void inject(HomeActivity homeActivity); | |
void inject(ArticleCategorySpinnerFragment articleCategorySpinnerFragment); | |
void inject(LoginActivity loginActivity); | |
// other injected classes are removed for brevity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment