Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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