Clean Code Base: Harnessing the Power of Android Lint and Custom Rules
summary
Shows concrete uses of Android Lint and custom rules: detects mismatched string-format arguments that would crash at runtime, flags missing intent export changes when updating target/compile SDK, and finds notification trampoline and translucent activity orientation crash sources so enabling rules removes live crashes. Explains building a lint module from a template repo, using a mutable data class rule to block Retrofit mutables, and using baseline files and tests so rules run reliably and actually fix problems rather than just warn.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:48Learnings and Experience
- 1:16Static Analysis Tools
- 2:48Android Lint
- 3:13Prevent Runtime Errors
- 3:34Runtime Analysis
- 6:14Behavior Changes
- 6:58Notification Trampoline
- 7:54String Set Bug
- 9:26Performance Checks
- 10:41Open Source Alternatives
- 12:03How to Start
- 13:51GPT
- 14:44Outro
related talks
20mClean Code Base: Harnessing the Power of Android Lint and Custom Rules
21mMastering Code Quality: A Deep Dive into Custom Linting for Android Developers
27mBuild an Android Lint in 25 Minutes
46mLint for Life: Your Customizable Guard On the Go
44mLint. What, Why, How?
23mConsistent Design with Custom Lint Checks
19mThe power of custom lint checks
24mImprove your code with Lint checks for Kotlin
