Created
April 12, 2020 08:30
-
-
Save fabioCollini/e38989916f889fabdc781ea9faf907e9 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 MainActivity : AppCompatActivity() { | |
@Inject | |
lateinit var dependency: Dependency | |
override fun onCreate(savedInstanceState: Bundle?) { | |
(application as MyApp).component.inject(this) | |
super.onCreate(savedInstanceState) | |
//... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment