Atwa / Movies-KMP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotlin Multiplatform project targets Android, iOS and Desktop.

Note: The iOS version is not ready yet because I don't have MAC 👻

Compose Multiplatform AWESOME 🥳 🥳 🥳

Credentials

Enter any Email and password to login within the app (It's just a fake login flow)

Libraries

Feature

  • Shared UI and logic for Android, iOS, Desktop and Web.
  • Adaptive Design
  • Clean architecture (MVI)
  • Custom Handling paging data.
  • Config changes handling.
  • Caching.

Project structure

  • /composeApp is for code shared across your Compose Multiplatform applications. It contains several subfolders:

    • commonMain is for code that’s common for all targets.
    • Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, iosMain would be the right folder for such calls.
  • /iosApp contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.

How to run

Android

To run the application on an Android device/emulator just hit the run button.

Desktop

To run the desktop application write this to Android studio terminal: ./gradlew :composeApp:run

About


Languages

Language:Kotlin 99.4%Language:Swift 0.6%