Created
November 11, 2019 18:53
-
-
Save kirich1409/92ab93f45992750ccd38d86b0ee4fc0b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 MyActivity : AppCompatActivity() { | |
@Inject | |
lateinit var dependency: Dependency | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCrate(savedInstanceState) | |
getAppComponent().inject(this) | |
} | |
private fun getAppComponent(): AppComponent { | |
// Get AppComponent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment