~/talk

Declarative UI ❤️ Kotlin Multiplatform!

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [kotlin, frontend-architecture]
slides:none on file

Live-codes a working Android and iOS app that shares networking, JSON parsing and persistence so one Kotlin module powers both UIs; uses Kotlin Multiplatform, renders UI with Jetpack Compose + SwiftUI, and wires networking and storage with Ktor, kotlinx.serialization, SQLDelight and Koin. The app fetches “people in space” from a remote API, stores results in SQLite via SQLDelight, exposes flows/state to Compose/SwiftUI so DB changes immediately update the lists, and the build runs successfully on both platforms.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 3:54Declarative UI overview
  3. 6:43Starting the project setup
  4. 8:49Adding shared API class
  5. 11:00Android ViewModel integration
  6. 13:11Jetpack Compose UI implementation
  7. 16:26Running Android app demo
  8. 16:47iOS SwiftUI setup
  9. 18:12iOS ViewModel and UI code
  10. 20:47Recap of shared architecture
  11. 21:30Adding astronaut images
  12. 24:26Local database integration
  13. 27:12Database-driven UI updates
  14. 29:17Multiplatform ecosystem overview
  15. 30:14Q&A session begins
~/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.