~/talk

Using GraphQL in a KMM project with Jetpack Compose and SwiftUI

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [graphql, kotlin]
slides:none on file

Kotlin Multiplatform uses Apollo to download the Star Wars GraphQL schema, generate strongly typed Kotlin data classes and fragments, and expose a shared repository consumed by Jetpack Compose on Android and SwiftUI on iOS. Gradle and IDE plugins run codegen, the JVM main sanity checks the suspend-based repo, and Compose uses produceState to render a list that updates when GraphQL adds fields (releaseDate). Caching comes from Apollo schema download and the build supports generated Kotlin data classes for both platforms.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 8:17Setting up KMM project
  3. 13:54Building GraphQL repository
  4. 22:05Jetpack Compose UI implementation
  5. 23:07SwiftUI implementation on iOS
  6. 27:44Enhancing GraphQL query
  7. 30:25Summary and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.