Questions tagged as 'dagger'

0
answers

The subcomponent and its module is not working

The situation is as follows. I have the AppModule in it I register the MainModule in it I retransfer the PartnersFragmentSubcomponent I register the PartnersModule . When compile gives this error: error: [Dag...
asked by 16.11.2018 / 18:14
0
answers

Kotlin - nresolved reference: DaggerNOMEComponent

Good luck, I'm currently studying on Dagger 2 and the MVP architecture, and doing some test projects. The problem is that I'm stuck in an error and can not see the solution.    Unresolved reference: DaggerHelloComponent T...
asked by 07.08.2018 / 19:07
1
answer

Dagger NullPointerException 3rd class depending on 2nd class

In a project that has Activity, Presenter, and Model, Activity has Presenter and Presenter has a Model. When I do @Inject in Presenter to instantiate the Model it is never instantiated.    FATAL EXCEPTION: main                                ...
asked by 19.03.2018 / 22:39