Skip to content

Demonstrates Android & iOS with KMP Clean and MVI Architecture

Notifications You must be signed in to change notification settings

RocqJones/DailyPulse

Repository files navigation

DailyPulse - Android & iOS App

Demonstrates KMP

Clean Architecture

  • Framework/ UI (Native iOS & Android)
  • Presentation Layer
  • Data Layer (Shared Module)
  • Domain/App Layer (Shared Module)

image

MVI - Architecture

image

Coroutines & Structured Concurrency recap.

  • suspend keyword in the Kt function makes the IO (Input/Output) thread suspended until we get results.
  • suspend functions can only be called from a Coroutine.
  • For a coroutine to exist we must have a scope and when its scope is canceled it cancels every work within the coroutine. It's good for memory management and avoiding memory leaks.

image

High-Level structure

image

About

Demonstrates Android & iOS with KMP Clean and MVI Architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published