Skip to content Skip to sidebar Skip to footer

Dagger2 And Qualifiers In Dependent Components

I have an app component and a dependent component. The app component declares explicit dependencies, and the dependent component can inject those. However, when I have a dependency

Solution 1:

Using @field:UiScheduler in class EditEntryFragment

Solution 2:

Try @Named annotition

@Inject@field:Named("UiScheduler") lateinit var uiScheduler: Scheduler

check out this issue

Post a Comment for "Dagger2 And Qualifiers In Dependent Components"