I'm converting a dagger example from java to Kotli...
# android
t
I'm converting a dagger example from java to Kotlin. This code works in the package module in Java: @Module public abstract class SplashModule { @Binds abstract SplashContract.SplashView view(SplashActivity impl); @Binds abstract SplashContract.SplashPresenter presenter(SplashPresenterImpl impl); } When I convert it to Kotlin: @Module abstract class SplashModule { @Binds abstract fun view(impl: SplashActivity): SplashContract.SplashView @Binds abstract fun presenter(impl: SplashPresenterImpl): SplashContract.SplashPresenter } It is giving me my favorite dagger compile time error: error: [Dagger/MissingBinding] SplashContract.View cannot be provided without an @Inject constructor or an @Provides-annotated method. This type supports members injection but cannot be implicitly provided.