Skip to content

Android & iOS App using MVVM pattern and LiveData on the presentation layer + Clean Arch on the common shared code.

Notifications You must be signed in to change notification settings

zafar-apk/KotlinMultiplatform_MVVM

 
 

Repository files navigation

Kotlin-Multiplatform MVVM (Android & iOS)

kotlin-version

Example of application using Kotlin Multiplatform and MVVM pattern for both platforms (Android & iOS). To achieve it the libraries used are:

  • 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: to make HTTP requests
  • Serialization: to De/Serializing JSON
  • Kodein-DI: Dependency injector
  • kotlinx.coroutines: Library support for Kotlin coroutines with multiplatform support
  • SQLDelight: SQLDelight generates typesafe kotlin APIs from your SQL statements.

More detail in this post on ProAndroidDev: here

Unit Testing SharedCode

  • Added unitTest for GitHubRepository

About

Android & iOS App using MVVM pattern and LiveData on the presentation layer + Clean Arch on the common shared code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 80.5%
  • Swift 19.5%