'How to avoid having Dagger/MissingBinding when injecting in Kotlin bindings with generics that provided in java dagger module?
Here is the binding I have in the java dagger module
@IntoMap
@Binds
@ClassKey(XXX.class)
Property<? extends PropertyType> bindProperty(XXXProperty property);
where
class XXXX: PropertyType
now in java class if I want to inject I do the following
Map<Class<?>, PageProperty<? extends PropertyType>> mProperties;
my question how should I inject in Kotlin class?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
