{"id":13615920,"url":"https://github.com/jarroyoesp/KotlinMultiplatform_MVVM","last_synced_at":"2025-04-13T23:34:21.897Z","repository":{"id":41297698,"uuid":"227156898","full_name":"jarroyoesp/KotlinMultiplatform_MVVM","owner":"jarroyoesp","description":"Android \u0026 iOS App using MVVM pattern and LiveData on the presentation layer + Clean Arch on the common shared code.","archived":false,"fork":false,"pushed_at":"2021-09-18T21:10:48.000Z","size":2883,"stargazers_count":230,"open_issues_count":2,"forks_count":28,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-31T15:46:52.509Z","etag":null,"topics":["android","clean-architecture","coroutines","kotlin","kotlin-multiplatform","mvvm-architecture","mvvm-pattern","serialization"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jarroyoesp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-10T15:41:44.000Z","updated_at":"2025-03-10T13:02:30.000Z","dependencies_parsed_at":"2022-08-30T13:10:12.627Z","dependency_job_id":null,"html_url":"https://github.com/jarroyoesp/KotlinMultiplatform_MVVM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarroyoesp%2FKotlinMultiplatform_MVVM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarroyoesp%2FKotlinMultiplatform_MVVM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarroyoesp%2FKotlinMultiplatform_MVVM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarroyoesp%2FKotlinMultiplatform_MVVM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarroyoesp","download_url":"https://codeload.github.com/jarroyoesp/KotlinMultiplatform_MVVM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248797968,"owners_count":21163225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","clean-architecture","coroutines","kotlin","kotlin-multiplatform","mvvm-architecture","mvvm-pattern","serialization"],"created_at":"2024-08-01T20:01:20.563Z","updated_at":"2025-04-13T23:34:16.861Z","avatar_url":"https://github.com/jarroyoesp.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# Kotlin-Multiplatform MVVM (Android \u0026 iOS)\n![kotlin-version](https://img.shields.io/badge/kotlin-1.5.30-orange)\n\u003ca target=\"_blank\" href=\"https://androidweekly.net/issues/issue-397\"\u003e\u003cimg src=\"https://androidweekly.net/issues/issue-397/badge\"\u003e\u003c/a\u003e\n\nExample of application using Kotlin Multiplatform and MVVM pattern for both platforms (Android \u0026 iOS). To achieve it the libraries used are:\n\n- [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.\n- [KTOR](https://github.com/ktorio/ktor): to make HTTP requests\n- [Serialization](https://github.com/Kotlin/kotlinx.serialization): to De/Serializing JSON \n- [Kodein-DI](https://github.com/Kodein-Framework/Kodein-DI): Dependency injector\n- [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines): Library support for Kotlin coroutines with multiplatform support\n- [SQLDelight](https://github.com/cashapp/sqldelight): SQLDelight generates typesafe kotlin APIs from your SQL statements.\n\nMore detail in this post on ProAndroidDev: [here](https://proandroiddev.com/kotlin-multiplatform-mvvm-clean-architecture-f20b99f90b95)\n\n### Unit Testing SharedCode\n\n- Added unitTest for GitHubRepository\n\n\u003cimg src=\"https://github.com/jarroyoesp/KotlinMultiplatform_MVVM/blob/master/images/KMP_MVVM_Schema.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarroyoesp%2FKotlinMultiplatform_MVVM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarroyoesp%2FKotlinMultiplatform_MVVM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarroyoesp%2FKotlinMultiplatform_MVVM/lists"}