moko-mvvm icon indicating copy to clipboard operation
moko-mvvm copied to clipboard

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development

Results 61 moko-mvvm issues
Sort by recently updated
recently updated
newest added

Failed to build module 'mokoMvvmFlowSwiftUI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)', while this compiler is 'Apple Swift...

bug

It seems that ViewModel has no support for SavedStateHandle, nor is onSaveInstanceState/savedInstanceState handled in any way in any code within this repository. What is the recommended approach that makes it...

enhancement

Let's say that I have this ViewModel common using [moko-mvvm](https://github.com/icerockdev/moko-mvvm) ``` class UserBookingViewModel : ViewModel() { private val _state = MutableStateFlow(State.Loading) val state: CStateFlow get() = _state.cStateFlow() } ``` I...

https://kotlinlang.slack.com/archives/CMC5LN42W/p1634901111003300?thread_ts=1634899812.002200&cid=CMC5LN42W So for Koin, we have our own method too In common: ``` expect inline fun Module.viewModelDefinition( qualifier: Qualifier? = null, noinline definition: Definition ): Pair ``` While then for...

enhancement

I've created MultiPlatformLibrary (KMM) and I'm using it in my ios project. I also installed mokoMvvmFlowSwiftUI using pods but when I try to run my project in simulator or in...

Split mvvm-state into components for working with livedata and with flow: mvvm-state-core, mvvm-state-livedata and mvvm-state-flow

enhancement

[mokoMvvmFramework](https://github.com/icerockdev/moko-mvvm/blob/e6023df467cd297ea20f5764b612535929e87a49/mvvm-flow/apple/xcode/mokoMvvmFlowSwiftUI/ViewModelState.swift#L32) does not allow to get a iOS nullable value from CStateFlow, , it is necessary to add at the moment, force unwrap is being used there ``` func stateNullable(...

enhancement