Skip to content

Instantly share code, notes, and snippets.

@tompee26
Created December 5, 2018 02:50
Show Gist options
  • Save tompee26/6c9d0fb942d0556375beb52dcc54f71c to your computer and use it in GitHub Desktop.
Save tompee26/6c9d0fb942d0556375beb52dcc54f71c to your computer and use it in GitHub Desktop.
ActivityModule.kt
@Module(subcomponents = [MainActivitySubcomponent::class])
abstract class ActivityModule {
@Binds
@IntoMap
@ClassKey(MainActivity::class)
abstract fun bindMainActivityInjectorFactory(builder: MainActivitySubcomponent.Builder): AndroidInjector.Factory<*>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment