Artwork

内容由Android Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Android Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Episode 204: Fan’otations

52:33
 
分享
 

Manage episode 402207736 series 2900575
内容由Android Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Android Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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, romainguy@androiddev.social

Tor: threads.net/@tor.norbye and tornorbye@androiddev.social

Chet: @chethaase, threads.net/@chet.haase, and chethaase@androiddev.social

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

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

  continue reading

212集单集

Artwork
icon分享
 
Manage episode 402207736 series 2900575
内容由Android Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Android Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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, romainguy@androiddev.social

Tor: threads.net/@tor.norbye and tornorbye@androiddev.social

Chet: @chethaase, threads.net/@chet.haase, and chethaase@androiddev.social

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

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

  continue reading

212集单集

Όλα τα επεισόδια

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

边探索边听这个节目
播放