Giter VIP home page Giter VIP logo

newsappkmm's Introduction

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 <3 and continuously improving. If you found an issue or want to contribute feel free to contact <3

operator fun invoke() = "KMM is Awesome"

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

newsappkmm's People

Contributors

bouyahyaa avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.