Hi,
I've found strange problem when using custom annotation processor in project with Dagger. Minimal working sample here:
dagger-sample-repo-2.zip
Steps to reproduce (as implemented in attached project):
- Create MainComponent extending MyFeatureComponent.
- Add injection method to MyFeatureComponent.
- Create custom annotation processor that generates code that calls feature component's injection method (this method is not called from non-generated code).
- Try to compile the project: Build fails with "DaggerMainComponent is not abstract and does not override abstract method inject(MyFeatureFragment) in MyFeatureComponent" - the injection method inherited from MyFeatureComponent to MainComponent is not implemented.
Am I doing something wrong? Tried with latest Dagger version, latest build tools etc. Thanks!
Hi,
I've found strange problem when using custom annotation processor in project with Dagger. Minimal working sample here:
dagger-sample-repo-2.zip
Steps to reproduce (as implemented in attached project):
Am I doing something wrong? Tried with latest Dagger version, latest build tools etc. Thanks!