Kotlin Weekly #493
Media3 1.9.0 introduces an inspector and Compose Material3 UI, a rewritten AV1 decoder, improved preloading and memory management, simplified APIs, and experimental CompositionPlayer support.
重點摘要
Media3 1.9.0 adds inspector, Compose Material3 UI, AV1 decoder rewrite and better memory/preloading
Featured articles: null+null Kotlin teaser, Ktfmt + Detekt migration, Android DI guide, Ktor pipelines, Exposed migrations
New resources: Practical Kotlin Deep Dive book, Koin Compose Multiplatform video, Compose cheat-sheet and multiple libraries
Kotlin Weekly #493 (11 January 2026) compiles recent updates across the Kotlin ecosystem. The announcement spotlights Media3 1.9.0, which brings a new inspector and Compose Material3 UI module, an AV1 decoder rewrite, smarter preloading and memory management, simplified ExoPlayer and MediaSession APIs, plus experimental CompositionPlayer support for real‑time media editing previews. The issue highlights articles including a Kotlin brain teaser showing null + null concatenation, Block’s migration from Ktlint to Ktfmt and adoption of Detekt for auto-fixes and performance, a comprehensive Android dependency injection guide comparing manual DI, Hilt and Koin (and the upcoming Koin Compiler Plugin), a deep dive into Ktor Client pipelines and plugin design, and a walkthrough adding database migrations to Ktor using Exposed. It also lists a sponsored Practical Kotlin Deep Dive book, a Koin/Compose Multiplatform video, a Compose cheat-sheet, several Kotlin Multiplatform libraries, contribution info, and thanks to JetBrains.
Kotlin Weekly 第493期
Media3 1.9.0 带来检视器与 Compose Material3 UI、AV1 解码器重写、预加载与内存管理改进,以及简化的 ExoPlayer/MediaSession API 与实验性 CompositionPlayer 支持。
重點摘要
Media3 1.9.0:检视器、Compose Material3 UI、AV1 解码器重写与更智能的预加载/内存管理
精选文章:null + null 字符串连接示例、Block 从 Ktlint 迁移到 Ktfmt 并采用 Detekt
关键资源:Android 依赖注入指南、Ktor Client pipeline 深入解析、Exposed 的数据库迁移示例
Kotlin Weekly 第493期(2026-01-11)汇总近期 Kotlin 生态的重要更新。公告部分以 Media3 1.9.0 为主,带来了检视器和 Compose Material3 UI 模块、重写的 AV1 解码器、更智能的预加载与内存管理、简化的 ExoPlayer 与 MediaSession API,以及用于实时媒体编辑预览的实验性 CompositionPlayer。期刊精选文章包括示例说明 null + null 会导致字符串连接、Block 从 Ktlint 迁移到 Ktfmt 并采用 Detekt 以提升格式一致性和性能、一篇比较手动依赖注入、Hilt 与 Koin 的 Android DI 深入指南(并提及即将到来的 Koin Compiler Plugin)、Ktor Client pipeline 与插件设计的深入解析,以及用 Exposed 在 Ktor 中添加数据库迁移的实践演示。此外列出赞助书籍《Practical Kotlin Deep Dive》、Koin 在 Compose Multiplatform 的注入影片、Compose 备忘单与多个跨平台库,并感谢 JetBrains 的支持。
Kotlin Weekly 第493期
Media3 1.9.0 帶來檢視器與 Compose Material3 UI、AV1 解碼器重寫、預載與記憶體管理優化,以及簡化的 ExoPlayer/MediaSession API 與實驗性 CompositionPlayer 支援。
重點摘要
Media3 1.9.0:檢視器、Compose Material3 UI、AV1 解碼器重寫與更聰明的預載/記憶體管理
重點文章:null + null 字串連接示例、Block 由 Ktlint 轉向 Ktfmt 並採用 Detekt
工具與資源:Android DI 比較指南、Ktor Client pipeline 深入解析、Exposed 的資料庫遷移範例
Kotlin Weekly 第493期(2026-01-11)彙整近期 Kotlin 生態要聞。公告重點為 Media3 1.9.0,包含新增檢視器與 Compose Material3 UI 模組、重寫 AV1 解碼器、預載與記憶體管理改進、以及簡化的 ExoPlayer 和 MediaSession API,並提供實驗性 CompositionPlayer 以供即時媒體編輯預覽。精選文章涵蓋一則關於 null + null 會產生字串連接的腦筋急轉彎、Block 從 Ktlint 遷移到 Ktfmt 並採用 Detekt 提升一致性與效能、完整的 Android 相依注入指南(比較手動 DI、Hilt 與 Koin 並提及 Koin Compiler Plugin)、Ktor Client pipeline 的內部運作解析,以及如何在 Ktor 專案中以 Exposed 加入資料庫遷移的實作示範。另列贊助書籍、教學影片、Compose 小抄與數個多平台函式庫,並感謝 JetBrains 的支持。