~/talk

Building a library for Android and iOS using Kotlin Multiplatform

Talkat Android Makers 2019 · on Wednesday, 2019-04-24· [kotlin]

A Kotlin Multiplatform library is built to fetch images used at Mixtiles and it actually produces an Android AAR and an iOS framework, but Xcode integration and Gradle wiring require manual steps. The code shares networking, coroutines, and SQL with Ktor, kotlinx.serialization and SQLDelight and uses expect/actual for platform hooks. Tests run on the JVM common suite, coroutines need platform runBlocking shims, and the shared networking and DB pieces work but iOS ergonomics still need polish.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Why is this important
  3. 4:29How does this work
  4. 7:11Native vs Multiplatform
  5. 8:02Platform Specific Decorations
  6. 8:59Getting Started
  7. 10:14Project Structure
  8. 13:17Android Studio
  9. 14:07Gradle
  10. 17:35Example
  11. 19:47Multiplatform libraries
  12. 23:28Networking code
  13. 27:25Shared databases
  14. 29:24Shared presentation logic
  15. 33:13Running tests from Android
  16. 34:05Conclusions
  17. 36:23Collaboration
  18. 36:54References
~/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.