Created
January 18, 2019 17:25
-
-
Save mrmojtabaa/979e9f279cf1fc324cb7c43c23fda797 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 myApplication : Application(), HasActivityInjector { | |
@Inject | |
lateinit var activityInjector: DispatchingAndroidInjector<Activity> | |
override fun onCreate() { | |
super.onCreate() | |
} | |
override fun activityInjector(): AndroidInjector<Activity> { | |
return activityInjector | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment