Last active
December 29, 2019 06:49
-
-
Save ursusursus/ba7135bf4fdb37f359af7cb5ae06b67c 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
class App : Application(), AppComponentProvider { | |
private lateinit var _appComponent: AppComponentImpl | |
override fun onCreate() { | |
super.onCreate() | |
_appComponent = DaggerAppComponentImpl.factory().create() | |
} | |
override fun appComponent(): AppComponent { | |
return _appComponent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment