~/talk

An Android Dev start to Kotlin Multiplatform

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [kotlin]
slides:none on file

Builds a simple app that scrapes Empire State Building light data and migrates the network/repository layer into a shared Kotlin module that runs on Android and native iOS. Uses Ktor and Kotlinx.serialization for HTTP and JSON, the KMM plugin to scaffold modules, and platform UIs with Compose and SwiftUI. Keeps Android ViewModel + LiveData, exposes a Loading/Complete/Error sealed state, works end-to-end after Gradle/IDE hiccups and coroutine adapter workarounds for iOS.

AI-written summary · about

  1. 0:00Introduction to KMM journey
  2. 1:16Android dev’s perspective on KMM
  3. 3:27Empire State Building app demo
  4. 5:13Sharing business logic with KMM
  5. 7:21Replacing Retrofit with Ktor
  6. 9:29Setting up KMM project in Android Studio
  7. 10:55KMM plugin and project creation
  8. 13:45Creating shared models
  9. 16:12JSON serialization setup
  10. 17:35Implementing shared repository
  11. 19:19Android view model integration
  12. 20:25LCE pattern for state handling
  13. 22:07Debugging common KMM errors
  14. 23:09Compose UI for Android
  15. 24:33Switching to iOS development
  16. 25:17JetBrains Codelab reference
  17. 26:00Using coroutines on iOS
  18. 28:47Building iOS UI with SwiftUI
  19. 29:30Live demo results
  20. 30:15Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.