`interface Builder` `class BuilderImpl @Inject(abs...
# dagger
m
interface Builder
class BuilderImpl @Inject(abstraction: Builder::class.java) constructor(): Builder
j
@Inject
annotation is from javax
m
ah right. makes sense. Obviously! I knew there had to be a stupid easy reason
well, in that case i would argue that @Binds(class: Builder::class.java) could be used in a concrete class Impl, alongside Inject
j
Yeah, should be great a way to install in components abstraction + implementation without create a module
I recommend you create a feature request creating a issue in the Google Dagger repo in GitHub
m
will do. thanks
please take a look if you can and let me know if it's well explained
j
I think it is fine, just a little error,
abstraction: ...
->
abstraction = ...
w
@myanmarking I think it’s the same issue as https://github.com/google/dagger/issues/1164
m
ya, it's the same goal, but different usage 😛
j
i don't like the example of that issue. Usually the module which has the abstraction interface doesn't implements the module which has the implementation class
👌 1