Artwork

Innehåll tillhandahållet av Android Developers. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Android Developers eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.
Player FM - Podcast-app
Gå offline med appen Player FM !

Episode 204: Fan’otations

52:33
 
Dela
 

Manage episode 402207736 series 2900575
Innehåll tillhandahållet av Android Developers. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Android Developers eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

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

  continue reading

213 episoder

Artwork
iconDela
 
Manage episode 402207736 series 2900575
Innehåll tillhandahållet av Android Developers. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Android Developers eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

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

  continue reading

213 episoder

Tutti gli episodi

×
 
Loading …

Välkommen till Player FM

Player FM scannar webben för högkvalitativa podcasts för dig att njuta av nu direkt. Den är den bästa podcast-appen och den fungerar med Android, Iphone och webben. Bli medlem för att synka prenumerationer mellan enheter.

 

Snabbguide

Lyssna på det här programmet medan du utforskar
Spela