https://kotlinlang.org logo
#dagger
Title
b

bodo

12/13/2018, 8:56 AM
Hi. I wanted to implement dynamic features with instant support in my app. It is almost working except di with dagger. in my app module i do not have access to my activity in the feature module. so i can not do the following in my dagger FragmentsModules.kt
Copy code
@ContributesAndroidInjector(modules = [FooFragmentModule::class])
abstract fun bindFooFragment(): FooFragment -> FooFragment can not be accessed
Does someone have an solution for this issue?
stackoverflow 1
3 Views