Closed georgeci closed 10 months ago
As I understand it now, it looks like this
interface SplashComponent @Inject class DefaultSplashComponent() : SplashComponent @Component abstract class SplashDiComponent { @Provides fun bind(component: DefaultSplashComponent): SplashComponent = component }
This is a very popular use case and It would be nice to be less verbose. Like this.
interface SplashComponent @BindAs(SplashComponent::class) @Inject class DefaultSplashComponent() : SplashComponent
this looks the same as https://github.com/evant/kotlin-inject/issues/212
As I understand it now, it looks like this
This is a very popular use case and It would be nice to be less verbose. Like this.