Advanced Kotlin for Android
summary
Kotlin 1.0 for Android is ready for production and integrates with Android Studio via the Kotlin plugin and Gradle; kapt enables annotation-processing tools like Dagger and ButterKnife to generate interoperable Java code. Examples show Kotlin extension functions (Toast helpers, application casting, fluent Intent builders), scope functions (let/run/apply), null-safety patterns (?., Elvis, let), and demonstrate reducing boilerplate with a custom extension-based RxLifecycle binding and a double-context startActivity implementation.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:25What is Kotlin
- 6:31Kotlin 1.0 release
- 7:43Kotlin in Android
- 10:20Kotlin with Dagger
- 11:30Kotlin classes for Java
- 13:03Extension functions
- 16:28Scope functions
- 18:40Let and also
- 20:50Apply and run
- 22:39Lazy properties
- 24:48ButterKnife alternative
- 25:52Null safety
- 28:02Null checks with let
- 29:55Multiple nullable variables
- 31:19Early returns with Elvis
- 32:24Side effects with also
- 33:31RxJava extensions
- 37:18Interface extensions
- 39:54Double context extensions
- 42:06Summary
related talks
52mKotlin - Ready for Production
49mKotlin: the swift of Android
39mDevelop your next application with Kotlin
01h 03mKotlin on Android
41mAdvancing android development with the kotlin language
42mKotlin First – Taking Full Advantage of Kotlin For Android Development
49mKotlin on Android (en)
43mKotlin: Next level of Android Development
