~/talk

Mastering Code Quality: A Deep Dive into Custom Linting for Android Developers

Talkat Android Worldwide January 2024 · on Tuesday, 2024-01-30· [android, testing]
name:Gopal
links:none on file
slides:none on file

Shows how to implement working custom lint checks that run on both Java and Kotlin by targeting the Universal AST and publishing rules via an IssueRegistry plus detectors using the visitor pattern. Demonstrates concrete steps: add the Android lint deps (example version guideline 23.0.3), create a lint module, scope rules per module, run on‑the‑fly in Studio or via Gradle to produce HTML/XML reports, and build an @AndroidEntryPoint check that flags missing annotations at build time. Notes most rules end up project‑specific; no central repo known.

AI-written summary · about

  1. 0:00Android Lint introduction
  2. 3:39What is Android Lint
  3. 9:18How Lint works internally
  4. 10:22First custom lint check
  5. 17:57Summary of custom linting
  6. 18:19Q&A on lint repositories
~/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.