Last active
February 27, 2020 04:37
-
-
Save markchristopherng/f7428dc3d05fdcc63569f8395ec03642 to your computer and use it in GitHub Desktop.
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
@Singleton | |
@Component(modules = [DaggerModule::class]) | |
interface AppComponent { | |
fun inject(mainActivity: MainActivity) | |
@Component.Factory | |
interface Factory { | |
fun create(@BindsInstance welcomeMessage: String): AppComponent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment