Skip to content
0:00 / 0:00

#kotlinmultiplatform#kmp#android

Building a library for Android and iOS using Kotlin Multiplatform by David González, Mixtiles EN

Mobile Makers

7.4K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by David Gonzalez, Software Engineer at Mixtiles
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

6.5K views7 years ago1 recommendation

Mobile developmentFlutter and React NativeKotliniOS and SwiftUI

David Gonzalez explains how to build a Kotlin Multiplatform library to share code between Android and iOS platforms.

This session was given at Paris Android Makers 2019 by David González, Mixtiles. More info: androidmakers.fr/schedule/?sessionId=KSG-3809 Sharing code between platforms is a powerful technique, but it may be hard to accomplish without rich APIs that we have in Android, JVM, or iOS platforms. Kotlin Multiplatform libraries can be used to fix that, bringing rich APIs directly in the common Kotlin code. What an exciting frontier! In this talk we'll go over the creation of a Kotlin Multiplatform library. You'll learn how modules for each platform work, decide what parts of the code makes sense to share and what doesn't. All based in the experiences gathered after creating a library at Mixtiles used to fetch images from different cloud providers. Alex Karp Production

Why it's here

1 person recommends this

What people say. Recommended as a helpful resource for learning how to share logic between Android and iOS using Kotlin Multiplatform.

u/Oriestin r/Kotlin • Recommends

On “No resources out there to learn from - Android + iOS Development with Kotlin Multi-platform”

Hi there. Kotlin Multiplatform is a (imo!) great way to approach mobile applications development if the requirements match the use case it solves - from the documentation here "(...)\it\ brings the invaluable benefit of reuse for code and expertise, saving the effort for tasks more challenging than implementing everything twice or multiple times."; I have personally used it to share logic between my mobile Android and iOS codebases whilst keeping the UI native (think of view models, networking layer, custom loggers, etc). This said, "learning Kotlin Multiplatform" should come as "learning how to share the common code" between platforms and not as a whole mobile dev endeavour. Nowadays,…