Kotlin multi platform project template and sample app with everything shared except the UI. Built with clean architecture + MVI

Overview

KMMNewsAPP

There are two branches

  1. Main
  2. News App

Main

The main branch is a complete template that you can clone and use to build the awesome app that you were thinking about when you opened this repository.

What's shared?

Everything, except the UI.

  • Android UI is in Compose
  • IOS ui is in SwiftUI

What does it have?

  • A complete skeleton of a kmm project that will help you follow clean architecture.
  • Dependency injection is set up using "The Mighty KOIN". You just have to add you dependencies. connected with both ios and android.
  • Shared ViewModel with stateflow for managing states in jetpack compose and swift ui

Dont forget to enable the new memory model in you gradle properties

kotlin.native.binary.memoryModel=experimental

Main Template

Screenshot 2022-08-13 at 8 58 01 PM

News APP

In the news app branch, its a sample app built using the template in the main app.

I have used newsapi.org (News Api) to build the app to demonstrate how everything should be layed out in order to build the app.

Here's a screenshot of how it looks. You can alwasy clone and check by yourself.

Screenshot 2022-08-14 at 3 36 36 AM

KMM is Awesome <3 and continuously improving. If you found an issue or want to contribute feel free to contact <3

operator fun invoke() = "KMM is Awesome"
You might also like...
Kotlin Multi Platform UI

Xeon UI (work-in-progress 👷 🔧️ 👷‍♀️ ⛏ ) Development Version Release This Is Latest Release ~ In Development $version_release = ~ What's New?? * In

Kotlin multi-platform application navigation library.

navigation Kotlin multi-platform application navigation library. Supports Jetpack Compose. val navigator = rememberNavigatorByKey("Greeting") { key -

Kotlin multi-platform simple File I/O library

KmpIO This is a Kotlin multiplatform (KMP) library for basic Text file, Binary file, and zip/archive file IO. It was initially implemented with the an

 🍲Foodium is a sample food blog Android application 📱 built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components). A simple MVI framework for Kotlin Multiplatform and Android
A simple MVI framework for Kotlin Multiplatform and Android

Orbit Multiplatform Get in touch What is Orbit Orbit is a Redux/MVI-like library - but without the baggage. It's so simple we think of it as MVVM+. Si

The home of the amigo-platform which serves as the main service for the amigo multimedia platform

amigo-platform This is the home of the amigo-platform which serves as the main service for the amigo multimedia platform. Authentication with JWT Toke

A simple demo project based on MVVM clean architecture and material design & animations.
A simple demo project based on MVVM clean architecture and material design & animations.

GithubFollows A simple demo project based on MVVM clean architecture and material design & animations. Architecture Specs & Open-source libraries Mini

LoginApp - A simple android login app where the username can be shared
LoginApp - A simple android login app where the username can be shared

LoginApp A simple android login app where the username can be shared. License Co

简明易用框架,解决 MVI 实战痛点
简明易用框架,解决 MVI 实战痛点

🌏 English README 研发故事:《解决 MVI 架构实战痛点》 上期《Jetpack 架构组件设计拆解及改善建议》侧重拆解 “领域层” 设计误区,并给出改善建议 —— 通过 MVI-Dispatcher 承担 Event-Handler, 然有小伙伴表示,不仅要 MVI-Dispatc

Owner
Kashif Mehmood
Engineer, Speaker, Writer, Open Source Contributor, Kotlin lover, XR geek, Bibliophile, and more
Kashif Mehmood
It is a fun project(android app), that contains everything about hip-hop.

Hip Hop School This is a fun project (android app). This app contains information about Hip Hop, like its history, beefs, etc. App Architecture An att

Jatin Vashisht 0 Dec 12, 2021
For Kotlin with SpringBoot project that have multi-module-structure template

Goals kotlin + spring-boot + gradle + multi-module building Module-Structure ---root |--- src.main.kotlin.KotlinSpringbootMultiModuleTemplateAppl

pguma 1 Jul 24, 2022
Kotlin microservices with REST, and gRPC using BFF pattern. This repository contains backend services. Everything is dockerized and ready to "Go" actually "Kotlin" :-)

Microservices Kotlin gRPC Deployed in EC2, Check it out! This repo contains microservices written in Kotlin with BFF pattern for performing CRUD opera

Oguzhan 18 Apr 21, 2022
Learning Project (Story App) For Applying Android Architecture Components And Clean Architecture Using MVVM With Kotlin

Learning Project (Story App) For Applying Android Architecture Components And Clean Architecture Using MVVM With Kotlin. Implemented by Clean Architecture, Hilt, MVVM, LiveData, Coroutines, Retrofit2, Glide

Samad Talukder 4 Sep 27, 2022
Clean MVVM with eliminating the usage of context from view models by introducing hilt for DI and sealed classes for displaying Errors in views using shared flows (one time event), and Stateflow for data

Clean ViewModel with Sealed Classes Following are the purposes of this repo Showing how you can remove the need of context in ViewModels. I. By using

Kashif Mehmood 22 Oct 26, 2022
This is an example of a simple application with layered software base on clean-architecture as application architecture and mvvm as presentation architecture

This is an example of a simple application with layered software base on clean-architecture as application architecture and mvvm as presentation archi

null 3 Jul 2, 2021
One app for all women that covers everything from safety to health and more. 👩💪

sampoorna Sampoorna is a one-in-all solution concept revolving around the women who fight one on one with various problems. With it's features encapsu

Open Lake 17 Dec 6, 2022
A complete Kotlin application built to demonstrate the use of Modern development tools with best practices implementation using multi-module architecture developed using SOLID principles

This repository serves as template and demo for building android applications for scale. It is suited for large teams where individuals can work independently on feature wise and layer wise reducing the dependency on each other.

Devrath 11 Oct 21, 2022
HackerNews with Kotlin Multi-platform mobile technology

KNews The goal of this project is to build mobile apps that consumes HackerNews API with Kotlin Multi-Platform technology. About My idea is to build 2

Kittinun Vantasin 43 Oct 3, 2022