~/talk

Android Jetpack Hearts Kotlin: on the road to more wholesome APIs

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

Android declares Kotlin-first for Jetpack and shows concrete work: Java APIs get KTX extensions (sharedprefs, DSLs, property delegates), libraries add coroutine integrations like viewModelScope and lifecycle-aware scopes, WorkManager gains CoroutineWorker and Room exposes suspend queries that are “main safe.” Tooling adds Kotlin/Java doc switch, a lint for Kotlin-friendly Java, and JVM annotations (@JvmOverloads/@JvmName) guidance. Compiler work in R8 and a R8+fast serviceloader fix (Android Studio 3.5/3.6 + coroutines 1.3 RC) reduces startup jank. Experimental UI is Compose Kotlin-only. Overall the additions are implemented and usable now.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:35Why Kotlin first on Android
  3. 3:03Phase zero: Kotlin adoption journey
  4. 5:54Phase one: Dealing with Java APIs
  5. 7:38Kotlin extensions for legacy code
  6. 9:24Discovering Kotlin-friendly APIs
  7. 10:26Making Java libraries Kotlin-friendly
  8. 13:38Phase three: Coroutines integration
  9. 17:52Beyond coroutines: Future Kotlin APIs
  10. 18:34Phase four: Kotlin-first libraries
  11. 20:22Making Kotlin code Java-friendly
  12. 23:09Kotlin performance impact
  13. 27:28R8 optimizations for Kotlin
  14. 28:11Fixing coroutines main dispatcher lag
  15. 31:44What’s next for Kotlin on Android
  16. 33:09Jetpack Compose and Kotlin
  17. 35:03Kotlin Multiplatform future
  18. 36:08Build speed and feedback
~/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.