Kotlin Multiplatform samples
This is a curated list of cross-platform projects created with Kotlin Multiplatform. Some share almost all their functionality using Compose Multiplatform for the user interface. Others use native code for the user interface and share, for example, only the data model and algorithms. To get started with a new Kotlin Multiplatform application, we recommend using the web wizard.
An application for capturing, viewing, and storing pictures. Includes support for maps. Uses Compose Multiplatform for the UI. Introduced at KotlinConf 2023.
A showcase of many different aspects of Kotlin Multiplatform and Compose Multiplatform. The use case is an application for fetching and displaying information about conference schedules. Includes support for the Wear and Auto platforms. Uses GraphQL for client-server communications. The architecture is discussed in-depth at KotlinConf 2023.
A Compose Multiplatform based version of the New York Times application. Allows the user to browse and read articles. Note that to build and run the application, you will need an API key from the New York Times.
An application for viewing the agenda at Droidcon events using the Sessionize API. Can be customized for use with any event that stores talks in Sessionize. Integrates with Firebase and so requires a Firebase account to run.
A demonstration of how to embed Compose Multiplatform components within a SwiftUI interface. The use case is online messaging.
A sample application for consuming RSS feeds designed to show how Kotlin Multiplatform can be used in production. The UI is implemented natively, but there is an experimental branch showing how Compose Multiplatform could be used on iOS and desktop. Networking is accomplished using the Ktor HTTP Client, while XML parsing is implemented natively. The Redux architecture is used for sharing UI State.
An application for tracking television shows via Trakt.tv. Uses Coroutines for concurrency and Compose for the UI. Designed to showcase the latest libraries and tools.
A showcase of the many different platforms on which Kotlin Multiplatform can run. The use case is to show the number of people currently in space and the position of the International Space Station.
A productivity and time management application. Allows users to schedule tasks and provides feedback on their accomplishments.
A demonstration application for viewing recipes. Showcases the use of animations.
A simple calculator application. Showing how to integrate Kotlin and native code using expected and actual declarations.
A collection of code and tools for Kotlin Multiplatform development. Designed to showcase libraries, architectural choices, and best practices when building Kotlin Multiplatform applications. The use case is downloading and displaying information about dog breeds. Introduced in this video tutorial.
A sample application for the Declarative UIs with Kotlin MultiPlatform architecture. The use case is retrieving and displaying vaccination statistics for different countries.
A demonstration of how to use the Realm database in a Kotlin Multiplatform application.
An application that consumes data from The Movie Database to display current trending, upcoming, and popular movies and TV shows. Requires that you create an API key with The Movie Database.