~/talk

Code Once, Pin Everywhere: Multiplatform Widgets for Android & iOS

Talkat NDC Oslo 2026 · 2026-09-14..09-18· [kotlin]
links:none on file
slides:none on file

Shows a working approach: one shared Kotlin core drives widgets on Android and iOS (real repo MatchPin, >2k GitHub stars example) using Kotlin Multiplatform with native UIs via Glance and WidgetKit. Shares fetch, domain, state, refresh policy and uses Flows + Touchlab Sky for Swift async interop; native glue uses WorkManager and app groups. Claims ~90% logic shareable, ~10% native pixels; warns iOS extension memory ceiling (~30 MB) vs Kotlin/Native GC target (~100 MB), and OS-limited refresh budgets (40–70/day; 15–60 min).

AI-written summary · about

  1. 0:00Introduction
  2. 1:39The widget duplication trap
  3. 2:35Shared logic potential
  4. 3:46Defining the roadmap
  5. 5:10What to build twice
  6. 8:20The smart move
  7. 8:44Status quo and precedents
  8. 12:14Architecture and seams
  9. 13:37UI constraints
  10. 14:39Platform rendering rules
  11. 16:00Reactive vs. punctual
  12. 17:05Shared interface design
  13. 18:58The redrawing glue
  14. 20:25Background scheduling
  15. 21:16Integrating flows with SKIE
  16. 22:55iOS app group challenges
  17. 24:45The thin widget pattern
  18. 25:36Demo: MatchPin
  19. 26:24Real-time vs. sampled
  20. 29:45Accepting the leash
  21. 30:15The messy truth: reactive myths
  22. 31:13Android's background limits
  23. 32:23Escape hatches: push
  24. 33:09The iOS memory fight
  25. 34:05Memory collision details
  26. 35:36Mitigating memory crashes
  27. 36:51Consequences of failure
  28. 38:10Sharing policies
  29. 39:09When to use live activities
  30. 40:19The value of 90% sharing
  31. 41:48Final verdict
  32. 42:22The scary part is the widget
  33. 43:43Decision framework
  34. 45:03Final call to action
  35. 47:00Resources and links
  36. 47:26Community and closing
  37. 48:52Q&A setup
  38. 49:18Final thank you
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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.