Kotlin: the swift of Android
summary
Kotlin installs as an Android Studio plugin, converts Java activities automatically, and compiles to JVM bytecode while remaining interoperable with Java; examples show a two‑button app and a small dynamic “time in two locations” app built with a DSL for dynamic layouts that renders and caches views and mostly works with minor hiccups. Key claims: inline lambdas avoid anonymous‑class overhead for performance, nullable types prevent many NPEs, and the Android extensions plugin generates cached synthetic properties instead of repeated findViewById calls. Version 1.0 and binary compatibility are pending.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:10Is Kotlin Specifically Designed for Android
- 10:02Demo
- 17:34Extension Functions
- 31:30Extensions Improving the Android Android Experience
- 34:17Default Parameters
- 36:26Layout
- 38:32Syntactic Sugar for Lambda
related talks
01h 03mKotlin on Android
49mKotlin on Android (en)
41mAdvancing android development with the kotlin language
24mYou can do Better with Kotlin
43mKotlin: Next level of Android Development
49mAn Introduction to Kotlin
42mKotlin First – Taking Full Advantage of Kotlin For Android Development
52mKotlin for Java Programmers
