- @Qualifier annotation class SpecialGreeting1
- @Qualifier annotation class SpecialGreeting2
+ typealias SpecialGreeting1 = String
+ typealias SpecialGreeting2 = String
...
- @Module
- @InstallIn(SingletonComponent::class)
- interface Bindings {
- @Binds fun bind(impl: GreetingConcatenatorImpl): GreetingConcatenator
- }
+ @Provides
+ fun GreetingConcatenatorImpl.bind(): GreetingConcatenator = this
Created
March 8, 2023 12:50
-
-
Save tfcporciuncula/f9677e4d3d45a7a386e2bd280ecda740 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment