emanuelecastelli
emanuelecastelli
VS for Mac 17.3.5 with xamarin.ios-15.99.0.464 Xcode 14 iOS 16 I get following build error: `MTOUCH: Error MT4109: Failed to compile the generated registrar code. Please file a bug report...
> Hi! My project has an OpenCV Binding made with this tutorial https://chamoda.com/how-to-use-opencv-with-xamarin-ios/ It works fine before adding Firebase. When I add any Firebase library to my project, the project...
> 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/ Yeah, it's started correctly, in fact the error i get...
`ILoginViewModel` it's an interface and i can not inherit it from `ViewModel` as needed by `koinViewModel` ```kotlin fun koinViewModel( vmClass: KClass, //... ``` ```kotlin interface ILoginViewModel : IBaseViewModel { suspend...
> 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`...
> 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...
ok @Tlaster i resolved it using this fun: ```kotlin @Composable fun resolveViewModel( vmClass: KClass, stateHolder: StateHolder = checkNotNull(LocalStateHolder.current) { "No StateHolder was provided via LocalStateHolder" }, key: String? = null,...