Overview of moko-mvvm features
mastermoko-mvvm is a Kotlin Multiplatform library providing Model-View-ViewModel architecture components for UI applications. It is designed to be lifecycle-aware on Android and supports all Kotlin targets.
Key features include:
- ViewModel: Manages UI-related data. On Android, it interoperates with
androidx.lifecycle.ViewModel. - LiveData, MutableLiveData, MediatorLiveData: Lifecycle-aware reactive data holders with transformation and merging operators.
- EventsDispatcher: Dispatches events from a
ViewModelto aViewwith automatic lifecycle control and explicit event interfaces. - UI Integration: Support for DataBinding, ViewBinding, Jetpack Compose, and SwiftUI.
- Multiplatform Support: The
core,flow, andlivedatamodules support all Kotlin targets.