Sid Patil

code
search
dark_mode
person_outline

Kotlin Mumbai: Building a better codebase with Lint on Android

  ·  1 min read


Subhrajyoti Sen talks about using lint in Android to build a better codebase

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!


About the author

Siddhesh Patil is an Android Engineer at DeliveryHero. Building core ordering experiences at Foodpanda and Foodora. He is the organzier of Kotlin Mumbai, a developer community in Mumbai, India. Find talks, articles and latest developments in Android and Kotlin on this website siddroid.com

Sid Patil is an Android Engineer and Kotlin Advocate based in Berlin, Germany. He works at Delivery Hero, building ordering experiences for food delivery and Q-commerce brands like Foodpanda and Foodora.

This publication was last updated on May 19, 2022

Share on

More articles to read