~/talk

Android KTX: A Dash of Kotlin Makes All the Difference!

Talkat KotlinConf 2018 · 2018-10-03..10-05· [android, kotlin]
name:Dan Kim
links:none on file
slides:none on file

Android KTX is a Google‑maintained Jetpack library of Kotlin extensions that converts verbose framework calls into concise helpers, e.g., doOnEnd listener for Animator, operator get/set via [] for Bitmap pixels, and bundleOf to build Bundles. It ships modularly (core + feature modules), reached 1.0, inlines most helpers for negligible overhead, and covers drawable bounds, transition/listener lambdas, collection‑style ViewGroup APIs, drawToBitmap, shared‑prefs/edit, DB transaction wrapping, and reified getSystemService.

AI-written summary · about

  1. 0:00Intro
  2. 0:52Kotlin extensions designed specifically for Android
  3. 1:35Makes Android development more concise, pleasant, and idiomatic
  4. 2:06Android has a long, co orful history
  5. 4:49Are we adding any new functionality?
  6. 5:45Are we leveraging Kotlin-specific language features?
  7. 6:30Will the extension be useful in the long-term?
  8. 7:32Does the extension provide a meaningful upgrade?
  9. 8:06Is the intent of the extension clear?
  10. 9:55A note about examples
  11. 10:21Named parameters & default values
  12. 14:08Operator Overloading
  13. 17:50Destructuring
  14. 20:29Pseudo Collections
  15. 24:38Making Life Easier / Discoverability
  16. 30:43Conflicts with your own extensions?
  17. 31:20What's good for core-ktx is not a value judgement on all extensions
  18. 32:01Should I still use Anko & Kotlin Android Extensions?
  19. 33:45Contributing to KTX
  20. 35:02They're "just" extensions
  21. 35:29Low barrier to entry
  22. 36:20Start with discussion
~/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.