~/talk

Advanced Kotlin for Android

TalkinJapaneseat DroidKaigi 2016 · 2016-02-18..02-19· [android, kotlin]
slides:none on file

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

  1. 0:00Introduction
  2. 2:25What is Kotlin
  3. 6:31Kotlin 1.0 release
  4. 7:43Kotlin in Android
  5. 10:20Kotlin with Dagger
  6. 11:30Kotlin classes for Java
  7. 13:03Extension functions
  8. 16:28Scope functions
  9. 18:40Let and also
  10. 20:50Apply and run
  11. 22:39Lazy properties
  12. 24:48ButterKnife alternative
  13. 25:52Null safety
  14. 28:02Null checks with let
  15. 29:55Multiple nullable variables
  16. 31:19Early returns with Elvis
  17. 32:24Side effects with also
  18. 33:31RxJava extensions
  19. 37:18Interface extensions
  20. 39:54Double context extensions
  21. 42:06Summary
~/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.