Created
June 10, 2021 23:35
-
-
Save Nyame123/612fa837b4a01d1a408443b764bc9718 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 LoginActivity : AppCompatActivity() { | |
@Inject | |
lateinit var loginAnalyticsAdapter: LoginAnalyticsAdapter | |
override fun onCreate(savedInstanceState: Bundle?) { | |
DaggerLoginComponent.builder() | |
.context(this) | |
.appDependencies( | |
EntryPointAccessors.fromApplication( | |
applicationContext, | |
LoginModuleDependencies::class.java | |
) | |
) | |
.build() | |
.inject(this) | |
super.onCreate(savedInstanceState) | |
... | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment