Building a better codebase with Lint
Lint is a powerful static analysis tool that can be used to enforce coding styles and also find common bugs across a codebase. Google provides a bunch of lint checks by default for Android.
In this talk, I discuss some examples of custom lint checks we use on the Tickertape app to enforce out design guidelines. I go through the source code of some Android lint checks and then show how to write a custom lint check. By the end of the talk, the audience will be able to understand how lint works and how they can add custom lint rules to their project.
I am an Android Developer at smallcase. I am passionate about creating good mobile experiences and sharing my learnings with others. I am also an Open Source enthusiast and an active contributor. When I am not playing around with Android or AOSP, you can find me binge-watching TV shows or sketching anime characters.