Skip to content

Instantly share code, notes, and snippets.

@WendyYanto
Created Dec 6, 2021
Embed
What would you like to do?
class MainActivity: AppCompatActivity() {
@Inject
lateinit var mainPresenter: MainPresenter
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Injector.inject(MainModule::class, this)
mainPresenter.getData()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment