Syntax
- @Module
- @Component(dependencies={OtherComponent.class}, modules={ModuleA.class, ModuleB.class})
- DaggerMyComponent.create()
- DaggerMyComponent.builder().myModule(newMyModule()).create()
Not to confuse with dagger by square, the predecessor to dagger 2.