vendredi 2 février 2018

Dagger2 doen't create the appropriated class for me

I have the following simple Component in test folders. I wonder why the Dagger doesn't create the DaggerDepartureComponentTest for me so the DaggerDepartureComponentTest.builder() is unknown. Where do I presumably wrong?

 @PerActivity
    @Component(modules = DepartureModule.class, dependencies = ApplicationComponent.class)
    public interface DepartureComponentTest {
        void inject(MainServiceDaggerTest mainServiceDaggerTest);
    }

Aucun commentaire:

Enregistrer un commentaire