Android Developers Backstage

Episode 204: Fan'otations


Listen Later

In this episode, Tor, Romain, and Chet talk about one of Tor's favorite topics: Lint! Specifically, we talk about Lint checks and the annotations that use them to enable better, more robust, and more self-documenting APIs. Lint: It's not just for pockets anymore.

Chapters:

Intro (00:00)

Lint checks for annotations (01:50)

Lint checks in Android (05:38)

Logic checks (07:34)

Color representations (10:01)

How does lint know the type of integer? (14:40)

Kotlin annotations (17:19)

Unsigned (20:10)

HalfFloat (22:25)

Thread annotations (25:12)

@CallSuper (28:18)

LayoutOpt (30:26)

Lint checks in AndroidX (32:00)

Restrict to annotation (36:45)

Writing your own custom Lint checks (39:51)

Lint testing framework (43:26)

Kotlin buildList Lint check example (45:25)

@Discouraged (48:15)

Wrap up (50:08)

@Deprecated Chet (50:50)

Romain: @romainguy, threads.net/@romainguy, [email protected]

Tor: threads.net/@tor.norbye and [email protected]

Chet: @chethaase, threads.net/@chet.haase, and [email protected]

Catch videos on YouTube → https://goo.gle/adb-podcast

Subscribe to Android Developers → https://goo.gle/AndroidDevs

...more
View all episodesView all episodes
Download on the App Store

Android Developers BackstageBy Android Developers

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

21 ratings


More shows like Android Developers Backstage

View all
Software Engineering Radio by se-radio@computer.org

Software Engineering Radio

273 Listeners

The Talk Show With John Gruber by Daring Fireball / John Gruber

The Talk Show With John Gruber

3,132 Listeners

Accidental Tech Podcast by Marco Arment, Casey Liss, John Siracusa

Accidental Tech Podcast

2,132 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

42 Listeners

Upgrade by Relay

Upgrade

1,210 Listeners

The Jordan B. Peterson Podcast by Dr. Jordan B. Peterson

The Jordan B. Peterson Podcast

33,273 Listeners

Talking Kotlin by Talking Kotlin

Talking Kotlin

18 Listeners

The Daily by The New York Times

The Daily

112,934 Listeners

Aha! Zehn Minuten Alltags-Wissen by WELT

Aha! Zehn Minuten Alltags-Wissen

34 Listeners

Știrile zilei. Pe scurt, de la Recorder by Știrile zilei. Pe scurt, de la Recorder

Știrile zilei. Pe scurt, de la Recorder

3 Listeners

KI-Update – ein heise-Podcast by Isabel Grünewald, heise online

KI-Update – ein heise-Podcast

3 Listeners

OpenAI Podcast by OpenAI

OpenAI Podcast

51 Listeners