~/talk

Android Jetpack: Sweetening Kotlin development with Android KTX

Talkat Google I/O 2018 · 2018-05-08..05-10· [kotlin, android]
links:none on file
slides:none on file

Android KTX turns existing Android APIs into concise Kotlin idioms by shipping curated sibling artifacts (now Core-KTX 1.0 Alpha 1 and KTX modules for fragment, navigation, work, SQLite), rewriting trivial extensions to delegate to Java utilities (ColorUtils) and defaulting to inline + reified where it avoids allocations. Extensions are inline unless they allocate; some implementations move upstream into core. A KEEP proposal (now submitted as KEEP-110 annotations) targets annotating Java APIs so Kotlin can treat static methods, defaults and names as true extensions.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Extension functions
  3. 2:16Reified
  4. 3:25Extension function
  5. 4:54Component operator
  6. 9:18Core KTX
  7. 11:50Composite Colors
  8. 12:43KTX Principles
  9. 14:15Iterator Extension
  10. 14:34Inline Modifier
  11. 16:45Collections
  12. 18:28Code Golf
  13. 19:51The Problem
  14. 22:39Fragment KTX
  15. 26:52Callin Extensions
  16. 29:29Java Implementation
  17. 30:17Non Null Annotation
  18. 31:01Null Annotation
  19. 31:21Extension Annotation
  20. 32:18UpdatePadding
  21. 33:04Naming
  22. 34:33Colin Expression
  23. 35:14Colin Extensions
  24. 38:16Android Bug Tracker
~/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.