Matthias Lao
Matthias Lao
I just had the same issue and realized that in Swift you have access to `viewModel.state_` which is already cast to the right type and can use it instead of...
@rickclephas Sure, here I kept only the relevant code. ```kotlin abstract class BaseViewModel : KMMViewModel() { @NativeCoroutinesState abstract val state: StateFlow } ``` ```kotlin class Store( viewModelScope: ViewModelScope, initialState: State,...
Ok, I realized that I have set `@NativeCoroutinesState` on both `BaseViewModel` and my `MovieDetailViewModel`, which creates me a `viewModel.state` and `viewModel.state_` randomly with no possibility to distinguish them...
@rickclephas I cannot drop the `@NativeCoroutinesState` on the base property, I am getting this error on the implementation if I do so > Refined declaration "state" overrides declarations with different...