Skip to content

Instantly share code, notes, and snippets.

@WendyYanto
Created December 6, 2021 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WendyYanto/24b587c9c7eb58792e62dc814d7196fa to your computer and use it in GitHub Desktop.
Save WendyYanto/24b587c9c7eb58792e62dc814d7196fa to your computer and use it in GitHub Desktop.
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