Tlaster

Results 180 comments of Tlaster

The Discourse forum differs from traditional social networks, and I haven't explored it in depth yet. I need to get a better understanding of it before I can determine whether...

Hi, do you have a more complete example for this? since I can not reproduce this issue.

Sorry, it is still quite hard to figure out the issue. I tried to use the [sample app](https://github.com/Tlaster/PreCompose/blob/cc39364904c5f2fdff1f1662d2765cbfa8ffaa24/sample/todo/common/src/commonMain/kotlin/moe/tlaster/common/App.kt) to reproduce the issue, but without success. However, I might have some...

Have you call `startKoin` in your testing code? You can check out this docs for testing with koin: https://insert-koin.io/docs/reference/koin-test/testing/

You might need to try `koinViewModel(ILoginViewModel::class, named("loginVM"))` instead of `koinViewModel(LoginViewModel::class, named("loginVM"))`

Oops, my fault, I forgot the generic limitation of the `koinViewModel`. There're some workaround I can think of: - Use `factory` instead of `factory` in your `testModule` definition. - Make...

I starting to wonder how Koin it self will handle this use case in Android without PreCompose 🤔. There's still a workaround, if you look into this [file](https://github.com/Tlaster/PreCompose/blob/303176c12471e2850cb2f5c835fc02715596e617/precompose-koin/src/commonMain/kotlin/moe/tlaster/precompose/koin/Koin.kt), which is...

Hi, can you check if the latest commit(https://github.com/Tlaster/PreCompose/pull/251/commits/ce4f31697c7bedd3cbae5d6969625b749a9e1876) of `compose-1.6` branch is working for you, it's working in my testing.

The current implementation requires the transition to be fully played, so this will require some internal reworking.

@Matcha-xiaobin 你说的`viewModelScope.launch`中的代码不会执行的问题我这里无法复现,你能提供一个sample吗?