Player FM 앱으로 오프라인으로 전환하세요!
Episode 204: Fan’otations
Manage episode 402239393 series 2904702
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
211 에피소드
Manage episode 402239393 series 2904702
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
211 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.