koin icon indicating copy to clipboard operation
koin copied to clipboard

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform

Results 458 koin issues
Sort by recently updated
recently updated
newest added

Facing following issue, when tried to use access get() in KoinComponent Scope java.lang.IllegalStateException: Deque is too big. at kotlin.collections.ArrayDeque.ensureCapacity(ArrayDeque.java:59) at kotlin.collections.ArrayDeque.addFirst(ArrayDeque.java:124) at org.koin.core.scope.Scope.resolveInstance(Scope.java:238) at org.koin.core.scope.Scope.get(Scope.java:204) Can you please help to...

core
status:checking
important 🔥

version 3.2.0 getViewModel can not call with generic

There were some cases where the `viewModelStore` reference passed to `ViewModelLazy` could be a different instance then the one on the `ViewModelStoreOwner` being passed to the view model factory. This...

I am using version 3.2.0-beta-1. And when i update to 3.2.0 last version, i can't find method ComponentCallbacks.getViewModel with KClass. I very need this function to create base Fragment and...

Hello. Thanks for your library. I`m using your library with Voyager (https://voyager.adriel.cafe/). I have code to get viewModel from AndroidScreen from Voyager. ` @Composable fun AndroidScreen.getComposeViewModelOwner(): ViewModelOwner = ViewModelOwner.fromAny(getLifecycleOwner()) @OptIn(KoinInternalApi::class)...

question

Treating "root" scope differently from sub-scopes is the biggest problem with Koin, in my opinion, and I've used Koin on Android for 3+ years. If I squint really hard, I...

type:feature-proposal

**Describe the bug** Eager instances can be either skipped (not created) or can cause an exception. **To Reproduce** Run this test: ``` package com.example import assertk.assertThat import assertk.assertions.isEqualTo import org.junit.Test...

status:checking
type:feature-proposal
type:improvement

Hi I am usin Koin en JVM app, without problem, but I would like to use Koin for testing In my Gradle val kotlinVersion: String = "1.7.10" val koinVersion: String...

status:checking
gradle / metadata

**Describe the bug** If there are multiple Activities of the same class on the task stacks - e.g. because one started the same Activity multiple times - all of them...

**Bug description** Previously (koin 3.1.2), when `val viewModel: AbcdeViewModel by viewModel()` was written, all the code was executed lazy. In the current version (3.2.0), if we look at the source...