Last active
July 4, 2017 11:20
-
-
Save EfeBudak/7b186bd038e570c1cd097c9b1edbdd65 to your computer and use it in GitHub Desktop.
Dagger 2.11 FragmentModule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Module | |
| public abstract class FragmentModule { | |
| @FragmentScope | |
| @ContributesAndroidInjector(modules = MovieListFragmentModule.class) | |
| abstract MovieListFragment contributesMovieListFragment(); | |
| @FragmentScope | |
| @ContributesAndroidInjector(modules = MovieDetailFragmentModule.class) | |
| abstract MovieDetailFragment contributesMovieDetailFragment(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment