Created
July 30, 2019 16:09
-
-
Save lamvann/9ed7785e32cf830df67e1e1581c2b805 to your computer and use it in GitHub Desktop.
This file contains 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 | |
abstract class ActivityBindingModule { | |
/* | |
Binds PopularMoviesActivity in another module as a BaseActivity so that BaseActivity can be injected | |
with the objects that its subclasses will use. | |
Such as the AutoDisposable | |
*/ | |
@ContributesAndroidInjector(modules = [MovieActivityModule::class]) | |
abstract fun bindMovieActivity(): PopularMoviesActivity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment