Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Lint Checks and Annotations in Android Development

Android Developers via YouTube

Overview

Dive into the world of Lint checks and annotations in Android development with this 53-minute podcast episode featuring Tor, Romain, and Chet. Explore how Lint checks enable better, more robust, and self-documenting APIs. Learn about various Lint checks in Android, including logic checks, color representations, and thread annotations. Discover how Lint interprets integer types and handles Kotlin annotations. Examine specific annotations like @CallSuper, LayoutOpt, and @Discouraged. Gain insights into writing custom Lint checks, using the Lint testing framework, and implementing Kotlin buildList Lint check examples. Understand the importance of Lint checks in AndroidX and how to use the Restrict to annotation. Perfect for Android developers looking to enhance their code quality and API design skills.

Syllabus

Intro
Lint checks for annotations
Lint checks in Android
Logic checks
Color representations
How does lint know the type of integer?
Kotlin annotations
Unsigned
HalfFloat
Thread annotations
@CallSuper
LayoutOpt
Lint checks in AndroidX
Restrict to annotation
Writing your own custom Lint checks
Lint testing framework
Kotlin buildList Lint check example
@Discouraged
Wrap up
@Deprecated Chet

Taught by

Android Developers

Reviews

Start your review of Lint Checks and Annotations in Android Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.