~/talk

Lint to the Finish Line

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [android]
links:none on file
slides:none on file

Step-by-step guide to writing and testing custom Android Lint checks using the AGP3-era toolchain: creates a Hungarian-notation detector that flags m/S prefixes, compiles a lint.jar and registry, and runs unit tests with the JUnit4 fluent API; explains UAST/PSI parsing and detector scopes so checks run on Java and soon Kotlin; shows a Gradle snapshot checker that scans dependency coordinates, handles duplicate reports, and bundles lint jars into AARs; demos quick fixes that modify source (string truncation for tag length) and verifies them with expect-fix diffs.

AI-written summary · about

  1. 0:00Introduction to lint checks
  2. 1:15Creating a Hungarian notation check
  3. 7:20Implementing detector logic
  4. 13:37Lint check for Gradle scripts
  5. 16:27Lint internals and registry
  6. 22:51Quick fixes in lint checks
  7. 27:50Resources 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.