Apollo-Android: a Journey to Kotlin Multiplatform
summary
Repository moves from Java to Kotlin incrementally, ships Kotlin Multiplatform models in a 2.0-era release, and keeps Java compatibility while converting tests (which reveal native bugs). Codegen needs little change: supporting Kotlin-native JSON reader and OKIO for streams. Runtime requires a rewrite: interceptor pipeline, pluggable network transport with OkHttp on JVM and NSURLSession on iOS, SQLDelight for normalized cache, and new concurrency abstractions. Publication uses Gradle metadata and a single coordinate per module and is published with maven-publish.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:02What is ApolloAndroid
- 3:19Timeline
- 5:11Initial approaches
- 7:23Kotlin Multiplatform Plugin
- 10:45Dependencies
- 17:00Tests
- 19:38Publishing
- 22:46Gradle metadata
- 24:59Code generation
- 29:21Apollo runtime
related talks
42mApollo-Android: a Journey to Kotlin Multiplatform
52mIntroducing Kotlin Multiplatform in an existing project
52miOS Architecture with Multiplatform
36mIntroducing Kotlin Multiplatform in an existing project
46mGoing Multiplatform with Your Android App
48mEffective Multiplatform Kotlin Development
26mKotlin Multiplatform in an MVVM World
27mAn Android Dev start to Kotlin Multiplatform
