Skip to content

Instantly share code, notes, and snippets.

@ibrahimsn98
Last active August 19, 2018 15:37
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 ibrahimsn98/f5c38c209bf3e1710d91701a47053a88 to your computer and use it in GitHub Desktop.
Save ibrahimsn98/f5c38c209bf3e1710d91701a47053a88 to your computer and use it in GitHub Desktop.
android-mvvm-with-dagger-2
@Module
public abstract class MainFragmentBindingModule {
@ContributesAndroidInjector
abstract ListFragment provideListFragment();
@ContributesAndroidInjector
abstract DetailsFragment provideDetailsFragment();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment