~/talk

Improve your code with Lint checks for Kotlin

Talkat droidcon London 2019 · 2019-10-24..10-25· [android, developer-experience]
slides:none on file

A team builds an AR SDK and makes Android Lint run on every Gradle build to break only on new errors, not historical ones, by committing a baseline snapshot and tuning a lint XML to ignore or escalate groups. Kotlin checks run once per file via UAST detectors implemented as custom issues in a separate registry; examples include reporting double‑bang force unwraps and banning lateinit, with unit tests and IDE quickfix descriptors. Android plugin/version gates control whether lint ships with a published library.

AI-written summary · about

  1. 0:00Introduction to lint checks
  2. 1:26History and philosophy of lint
  3. 3:55Goal and challenges of enabling lint
  4. 5:20Configuring lint with XML files
  5. 7:27Suppressing and ignoring lint warnings
  6. 8:33Baseline and annotations for lint
  7. 10:20Android lint for Kotlin modules
  8. 11:24Lint publish option in libraries
  9. 12:27KTLint and custom lint rules
  10. 13:30How Android lint works under the hood
  11. 16:19Writing custom lint detectors
  12. 18:47Testing custom lint rules
  13. 20:12Quick fixes in lint checks
  14. 21:17Summary and next steps
~/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.