This is a basic Kotlin Multiplatform app template for Android and iOS. It includes shared business logic and data handling, and a shared UI implementation using Compose Multiplatform.
The template is also available with native UI written in Jetpack Compose and SwiftUI.
The
amper
branch showcases the same project configured with Amper.
The data displayed by the app is from The Metropolitan Museum of Art Collection API.
The app uses the following multiplatform dependencies in its implementation:
- Compose Multiplatform for UI
- Compose Navigation
- Ktor for networking
- kotlinx.serialization for JSON handling
- Coil for image loading
- Koin for dependency injection
These are just some of the possible libraries to use for these tasks with Kotlin Multiplatform, and their usage here isn't a strong recommendation for these specific libraries over the available alternatives. You can find a wide variety of curated multiplatform libraries in the kmp-awesome repository.