~/talk

Multiplatform Library Development

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [kotlin]
links:none on file
slides:none on file

A practical postmortem on building an early Kotlin library: describes creating multiplatform settings (shared-preferences abstraction) with Android SharedPreferences, Apple UserDefaults, JS localStorage and a JVM Properties fallback, plus an in-memory mock for tests; explains switching from expect/actual to interfaces for testability, implementing key-specific listener semantics to normalize platform differences, publishing artifacts to Bintray, missing CI, Gradle/iOS simulator quirks, and ongoing work for 32-bit iOS and broader samples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17What is Kotlin Multiplatform
  3. 7:49My journey into Multiplatform
  4. 12:28Expect vs interfaces in libraries
  5. 14:54Testing strategies for libraries
  6. 17:23Listener APIs and platform differences
  7. 21:19Experimental APIs and annotations
  8. 23:28Community contributions and PRs
  9. 26:18Gradle quirks for library publishing
  10. 29:51Maintaining library compatibility
  11. 31:34Future plans and to-dos
  12. 34:04Other multiplatform libraries
  13. 37:16Why develop multiplatform libraries
~/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.