Skip to content

Instantly share code, notes, and snippets.

@zawadz88
Created April 12, 2019 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zawadz88/e32a306e894410def3b2e45b4a675591 to your computer and use it in GitHub Desktop.
Save zawadz88/e32a306e894410def3b2e45b4a675591 to your computer and use it in GitHub Desktop.
@Module
abstract class FragmentBindingModule {
@Binds
@IntoMap
@FragmentKey(OfferFragment::class)
abstract fun bindMainFragment(mainFragment: OfferFragment): Fragment
@Binds
abstract fun bindFragmentFactory(factory: InjectingFragmentFactory): FragmentFactory
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment