Created
March 16, 2019 19:58
-
-
Save amanjeetsingh150/46741122b0c9aa6f70f7ce9fd59e4fe6 to your computer and use it in GitHub Desktop.
ActivityComponent for MVVM Sample
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
@PerActivity | |
@Component(modules = arrayOf(NetModule::class, ActivityModule::class), | |
dependencies = arrayOf(AppComponent::class)) | |
interface ActivityComponent { | |
fun inject(mainActivity: MainActivity) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment