Created
February 1, 2020 09:29
-
-
Save diousk/3490857c8b022246466eba65883609d9 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 MainBuilder { | |
@ContributesAndroidInjector(modules = [ | |
ViewModelBuilder::class, | |
FragmentBuilder::class, // <- for injection of fragment factory | |
MainModule::class, | |
DummyBuilder::class // <- our fragment | |
]) | |
abstract fun bindMainActivity(): MainActivity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment