Created
January 25, 2018 01:50
-
-
Save aasumitro/3a4ecca6388305d654d8ff4bc5b6b8d5 to your computer and use it in GitHub Desktop.
App With Dagger2
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
companion object { | |
lateinit var mAppComponent: AppComponent | |
} | |
override fun onCreate() { | |
super.onCreate() | |
mAppComponent = DaggerAppComponent | |
.builder() | |
.appModule(AppModule(this)) | |
.build() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment