question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

startKoin from java

See original GitHub issue

My application is java but I want to use Koin in my Kotlin Code. I have found this PR https://github.com/InsertKoinIO/koin/pull/25 It states that could be done like AndroidExtKt.startKoin(this, this, modules, properties);

But how is the modules defined?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
arnaudgiulianicommented, Jul 10, 2018
1reaction
arnaudgiulianicommented, Jul 6, 2018

The best is that you wait the koin-java project that will help you on this topic. Beta will be published in next days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Koin for Android Java app - gists · GitHub
Koin for Android Java app. GitHub Gist: instantly share code ... A module with Kotlin and Java components ... startKoin(listOf(module)) with (myApplication). }....
Read more >
How to get Android Context for Koin in Java - Stack Overflow
According to KDoc KoinAndroidApplication.create(..) Create Koin Application with Android context - For Java compat.
Read more >
Start Koin
The startKoin function is the main entry point to launch Koin container. It need a list of Koin modules to run. Modules are...
Read more >
Easy Android Dependency Injection with Koin - Medium
1- Gradle Setup · 2- Our components (Java & Kotlin) · 3- Writing the Koin module · 4- Start Koin · 5- Injecting...
Read more >
Dependency Injection with Kotlin and Koin - Auth0
startKoin import org.koin.dsl.module class SingleInstance ... java -cp . ... Next we call the startKoin function, which is part of the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found