Skip to content

This is an application that shows the different characters from the Rick and Morty tv show and its different seasons. The application consumes a free-to-use API

Notifications You must be signed in to change notification settings

NelsonASP1/Kotlin-Multiplatform-KMP-Rick-and-Morty-App

Repository files navigation

cover

API

This is a Kotlin Multiplatform project targeting Android, iOS.

  • /composeApp is for code that will be 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.

📷 Previews

drawing drawing drawing

drawing drawing

🛠 Tech Stack & Open Source Libraries

  • Minimum SDK level 21.
  • 100% Jetpack Compose based + Coroutines
  • Jetpack
  • Compose: Android’s modern toolkit for building native UI.
  • ViewModel: UI related data holder and lifecycle aware.
  • App Startup: Provides a straightforward, performant way to initialize components at application startup.
  • Paging: For navigating screens and Paging KMP
  • Room: Constructs Database by providing an abstraction layer over SQLite to allow fluent database access.
  • Ktor: HTTP client
  • Koin: Dependency Injection.
  • ksp: Kotlin Symbol Processing API.
  • viewmodel-lifecycle: ViewModel Lifecycle allows you to track and observe Jetpack's ViewModel lifecycle changes.

🏛️ Architecture

Google's official architecture guidance.

architecture

This App was built with Guide to app architecture, so it would be a great sample to show how the architecture works in real-world projects.

UI Layer

layer

The UI Layer consists of UI elements like buttons, menus, tabs that could interact with users and ViewModel that holds app states and restores data when configuration changes.

Learn more about Kotlin Multiplatform

About

This is an application that shows the different characters from the Rick and Morty tv show and its different seasons. The application consumes a free-to-use API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published