Kotlin Mumbai: Building a better codebase with Lint on Android
Event Details
- Speaker: Subhrajyoti Sen, Android Developer from smallcase
- Date: 22nd August 2020
- Location: Online
Description
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. On popular demand, the Lint API was extended to support non-Android Kotlin projects too.
In this talk, Subhrajyoti discusses some examples of custom lint checks we use on the Tickertape app to enforce out design guidelines. He will go through the source code of Android lint checking and then show how to write a custom lint rule.
This talk also demonstrates how to write test cases for the rules. By the end of the talk, you will be able to understand how lint works and how you can add custom lint rules to your projects.
Missed the session? No problem! Watch the entire talk on YouTube!