Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jarroyoesp/kotlinmultiplatform_mvvm
Android & iOS App using MVVM pattern and LiveData on the presentation layer + Clean Arch on the common shared code.
https://github.com/jarroyoesp/kotlinmultiplatform_mvvm
android clean-architecture coroutines kotlin kotlin-multiplatform mvvm-architecture mvvm-pattern serialization
Last synced: 11 days ago
JSON representation
Android & iOS App using MVVM pattern and LiveData on the presentation layer + Clean Arch on the common shared code.
- Host: GitHub
- URL: https://github.com/jarroyoesp/kotlinmultiplatform_mvvm
- Owner: jarroyoesp
- Created: 2019-12-10T15:41:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-18T21:10:48.000Z (about 3 years ago)
- Last Synced: 2024-08-02T20:47:39.030Z (3 months ago)
- Topics: android, clean-architecture, coroutines, kotlin, kotlin-multiplatform, mvvm-architecture, mvvm-pattern, serialization
- Language: Kotlin
- Homepage:
- Size: 2.75 MB
- Stars: 229
- Watchers: 12
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kotlin-Multiplatform MVVM (Android & iOS)
![kotlin-version](https://img.shields.io/badge/kotlin-1.5.30-orange)Example of application using Kotlin Multiplatform and MVVM pattern for both platforms (Android & iOS). To achieve it the libraries used are:
- [moko-mvvm](https://github.com/icerockdev/moko-mvvm): This is a Kotlin Multiplatform library that provides architecture components of Model-View-ViewModel for UI applications. Components are lifecycle-aware on Android.
- [KTOR](https://github.com/ktorio/ktor): to make HTTP requests
- [Serialization](https://github.com/Kotlin/kotlinx.serialization): to De/Serializing JSON
- [Kodein-DI](https://github.com/Kodein-Framework/Kodein-DI): Dependency injector
- [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines): Library support for Kotlin coroutines with multiplatform support
- [SQLDelight](https://github.com/cashapp/sqldelight): SQLDelight generates typesafe kotlin APIs from your SQL statements.More detail in this post on ProAndroidDev: [here](https://proandroiddev.com/kotlin-multiplatform-mvvm-clean-architecture-f20b99f90b95)
### Unit Testing SharedCode
- Added unitTest for GitHubRepository