Dagger 2 - How Does Marking A Class Constructor With @Inject Without Component Registration Work
i have dagger already set up with two components. One component is a subcomponent of another, big deal. Everything works. But then i randomly wanted to try constructor injection s
Solution 1:
Placing @Inject
on a constructor makes it detectable to Dagger. You can read more about it in JSR 330.
Post a Comment for "Dagger 2 - How Does Marking A Class Constructor With @Inject Without Component Registration Work"