Created
August 30, 2018 14:48
-
-
Save kozmi55/fa7f70ef0e33bbdaacc6be0303299812 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 CustomApplication : Application() { | |
lateinit var component: ApplicationComponent | |
override fun onCreate() { | |
super.onCreate() | |
component = DaggerApplicationComponent | |
.builder() | |
.applicationModule(ApplicationModule(this)) | |
.build() | |
component.inject(this) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment