Android Jetpack Hearts Kotlin: on the road to more wholesome APIs
summary
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
chapters (18)
- 0:00Introduction and speaker background
- 1:35Why Kotlin first on Android
- 3:03Phase zero: Kotlin adoption journey
- 5:54Phase one: Dealing with Java APIs
- 7:38Kotlin extensions for legacy code
- 9:24Discovering Kotlin-friendly APIs
- 10:26Making Java libraries Kotlin-friendly
- 13:38Phase three: Coroutines integration
- 17:52Beyond coroutines: Future Kotlin APIs
- 18:34Phase four: Kotlin-first libraries
- 20:22Making Kotlin code Java-friendly
- 23:09Kotlin performance impact
- 27:28R8 optimizations for Kotlin
- 28:11Fixing coroutines main dispatcher lag
- 31:44What’s next for Kotlin on Android
- 33:09Jetpack Compose and Kotlin
- 35:03Kotlin Multiplatform future
- 36:08Build speed and feedback
related talks
43mAndroid Jetpack ❤️ Kotlin: On the road to more wholesome APIs
38mState of Kotlin for Android
40mAndroid Jetpack: Sweetening Kotlin development with Android KTX
42mKotlin First – Taking Full Advantage of Kotlin For Android Development
31mWhat's new in Kotlin on Android, 2 years in
37mAndroid KTX: A Dash of Kotlin Makes All the Difference!
39mModern Android development: Android Jetpack, Kotlin, and more
49mKotlin: the swift of Android
