~/talk

Kotlin & Wear OS

Talkat Android Dev Summit 2018 · 2018-11-07..11-08· [kotlin, android]
slides:none on file

Kotlin DSL reduces the boilerplate for a Wear OS watch face from 600 lines to 15 by replacing manual painting and ambient-mode plumbing with a declarative nested-lambda DSL that is type-checked and gives IDE hints. The heavy lifting remains in an interpreter/helper class, but the DSL produces a working analog watch face (hands, colors, background) and ships. A 15-minute codelab and source show the exact Kotlin constructs and how the DSL maps to runtime rendering.

AI-written summary · about

  1. 0:00Introduction to watch faces
  2. 0:41Kotlin and DSL overview
  3. 1:13Understanding DSL benefits
  4. 2:05DSL syntax and structures
  5. 2:50Implementing the watch face
  6. 4:04Code lab and conclusion
~/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.