Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 3.24 KB

README.md

File metadata and controls

59 lines (36 loc) · 3.24 KB

KMMNewsAPP

featured by kotlin official: https://twitter.com/kotlin/status/1567871041866809344

featured by Kotzilla: https://twitter.com/Kotzilla_io/status/1612433688532320259

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

Untitled.webm

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
  • Realm for local storage and caching
  • Material 3 for android UI theming

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

kotlin.native.binary.memoryModel=experimental

News 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. You can communicate with the API to get news and also use Realm to add a news to readlater an available offline.

KMM is Awesome ❤️ and continuously improving. If you found an issue or want to contribute feel free to contact 🖤

operator fun invoke() = "KMM is Awesome"

kashif_mehmood_ kashif-mehmood kashif-mehmood kashi.m.456 kashif_mehmood._ @kashif-mehmood-km