KMMNewsAPP
There are two branches
- Main
- 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
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.
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"