Ahmed Ibrahim
03/15/2020, 7:42 PM@JvmSuppressWildCard
problem when injecting generic classes through Dagger?
It is becoming too ugly for me 😞
internal class SalesSectionReader @Inject constructor(
private val sectionsLocalDataSource: SectionsDataSource,
private val saleEntityToSaleSectionSaleMapper: Mapper<@JvmSuppressWildcards SaleEntity, @JvmSuppressWildcards SaleSection.Sale>,
private val blogEntityToBlogSectionMapper: Mapper<@JvmSuppressWildcards BlogEntity, @JvmSuppressWildcards SaleSection.Blog>,
private val tagEntityToSaleSectionTagMapper: Mapper<@JvmSuppressWildcards TagEntity, @JvmSuppressWildcards SaleSection.Tag>
) : StoreListReader<AllSectionsKey, SaleSection>
Javier
03/15/2020, 10:27 PMJavier
03/15/2020, 10:28 PMAhmed Ibrahim
03/15/2020, 11:22 PM