Created
January 6, 2022 20:13
-
-
Save ericntd/fbf46cc96a4fb9f64ea41dd2633c5ff2 to your computer and use it in GitHub Desktop.
Injector instead of Component example
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
@Injector(modules = [CatDependencyHolder::class, ContextDependencyHolder::class]) | |
@AppScope | |
interface MyAppInjector { | |
// aka. plus | |
fun plusMainActivityInjector(mainActivityDependencyHolder: MainActivityInjector.MainActivityDependencyHolder): MainActivityInjector | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment