Various examples for Kotlin
If anything is missing or seems confusing, please create an issue in the Kotlin issue tracker
- https://github.com/Kotlin/kmm-production-sample - This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile (KMM). It’s a simple RSS reader, and you can download it from the App Store and Google Play. It’s been designed to demonstrate how KMM can be used in real production projects.
- https://github.com/Kotlin/kmm-basic-sample - This is a Kotlin Multiplatform Mobile (KMM) sample project. It includes iOS and Android applications with a native UI and a module with code shared on iOS and Android.
- https://github.com/Kotlin/kmm-integration-sample - This is a sample project for the "Make your Android application work on iOS" tutorial. Master branch contains the project’s initial state: it’s a simple Android application generated with the Android Studio “Login application” wizard. You could find the final state with the iOS application and shared KMM module in the final branch.
- https://github.com/Kotlin/kmm-with-cocoapods-sample - This is a sample project represents the case when Cocoapods dependencies added in Kotlin and there is no existing Xcode project.
- https://github.com/Kotlin/kmm-with-cocoapods-multitarget-xcode-sample - This project is intended to demonstrate how to connect Kotlin library to Xcode project with several targets: iOS, macOS, tvOS, watchOS
- https://github.com/Kotlin/kmm-with-cocoapods-xcode-two-kotlin-libraries-sample - This project is intended to demonstrate the connection of two Kotlin libraries to existing Xcode project through Cocoapods.
- https://github.com/ktorio/ktor-samples - A collection of ready-to-use samples for Ktor.
- https://github.com/spring-petclinic/spring-petclinic-kotlin - This is a Kotlin version of the spring-petclinic application.
- https://github.com/Kotlin/full-stack-web-jetbrains-night-sample - A full-stack demo application written in Kotlin for JetBrains Night Moscow 2019.
- https://github.com/Kotlin/react-redux-todo-list-sample - This project is a PoC of using Kotlin (JS) and React, React-Dom, React-Router, Redux and React-Redux. This project is an implementation/translation of the react-redux Todo List example project in Kotlin (with the addition of react-router).
- https://github.com/Kotlin/full-stack-spring-collaborative-todo-list-sample - Collaborative todo-list with Spring, Kotlin and RSocket.
- https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples - This repository contains a set of samples demonstrating how one can work with Kotlin/Native.
Kotlin Script:
- https://github.com/Kotlin/kotlin-script-examples - This repository contains example projects and individual scripts, as well as links to the external examples demonstrating Kotlin Scripting functionality and API usage.