Your weekly dose of Kotlin

Register for the newsletter to get your weekly Kotlin dose. It is free, we are lovely and do not send spam


Subscribe

* indicates required

Latest Issue

Kotlin Weekly #-493!

Media3 1.9.0 - What’s new (android-developers.googleblog.com) This post by Kristina Simakova introduces Media3 1.9.0, highlighting new inspector and Compose Material3 UI modules, improved Cast transitions, a rewritten AV1 decoder, smarter preloading and memory management, simplified ExoPlayer and MediaSession APIs, and experimental CompositionPlayer support for real time media editing previews.

[SPONSORED] Practical Kotlin Deep Dive (kotlin.skydoves.me) Unpacks the how and why behind Kotlin by skydoves. Check out his new book here!

What’s null + null in Kotlin? (sam-cooper.medium.com) Kotlin brain teaser by Sam Cooper showing that null + null resolves to string concatenation via String?.plus(Any?), producing the surprising result nullnull.

Adopting Ktfmt and Detekt (engineering.block.xyz) Block Engineering post by Ralf Wondratschek describing Block’s migration from Ktlint to Ktfmt for formatting and Detekt for linting, highlighting better consistency, full auto-fix, and major performance gains at monorepo scale.

Dependency Injection in Android: The Complete Guide to Writing Maintainable Code (itnext.io) This guide by Ioannis Anifantakis offers a comprehensive, practical deep dive into dependency injection on Android, covering core concepts, manual DI versus Hilt and Koin, and the upcoming Koin Compiler Plugin for improved compile time safety.

Ktor Client Pipelines - Deep Dive (medium.com) This deep dive by Ghasem Shirdel explains Ktor Client pipelines, phases, hooks, and plugin internals, showing how interceptors actually work compared to OkHttp and how to design custom plugins without interfering with others.

Database migrations with Exposed (www.kborowy.com) This post by Krzysztof Borowy shows how to add simple, command line driven database migrations to a Ktor project using Exposed, with a small Kotlin script and a custom Gradle task to generate versioned migration files.

Injecting Platform-Specific Dependencies with Koin in Compose Multiplatform (www.youtube.com) In this video, Mykola Miroshnychenko implements platform-specific dependency injection in a Compose Multiplatform application using Koin.

Compose Cheat Sheet: stop guessing modifier order, state & recomposition - keep this PDF next to Android Studio (cheat-sheet.kt.academy) Stop guessing Compose. This professional cheat sheet summarizes the mental models behind modifiers, constraints, and state/recomposition—so you can reason about UI changes before you run the app. Leave your email and we’ll send you PDF.

Carbon Compose (gabrieldrn.github.io) Carbon Compose is an implementation of the Carbon Design System built using Kotlin Multiplatform and Compose Multiplatform.

Jindong (github.com) Jindong is a declarative haptic feedback DSL for Compose Multiplatform, enabling cross platform vibration patterns on Android and iOS using Compose Runtime.

Kotlin Multiplatform Encryption Library. Implementation of RNCryptor (github.com) A pure Kotlin Multiplatform implementation of the RNCryptor v3 encryption format.

KMath (git.sciprog.center) KMath is a modular Kotlin Multiplatform mathematics library offering flexible algebraic abstractions, NumPy-like extensions, and integrations with optimized backends across JVM, JS, Native, and Wasm.

Attributes-kt (git.sciprog.center) This is a small multiplatform library dedicated to typed attribute containers inspired by kotlinx-coroutines contexts.

ComposeNativeWebView (github.com) ComposeNativeWebView is a lightweight Compose Multiplatform WebView that brings a familiar API to Android, iOS, and Desktop using native OS engines via Rust, Wry, and UniFFI instead of bundling Chromium.

Contribute

We rely on sponsors to offer quality content every Sunday. If you would like to submit a sponsored link contact us!.

If you want to submit an article for the next issue, please do also drop us an email.

Thanks to JetBrains for their support!

Submit

Suggest a link for an upcoming Kotlin Weekly

Past Issues

RSS

What people think about us

“Kotlin Weekly has established itself as one of the main references of what's going on in the Kotlin world.”

Hadi Hariri Head of Developer Advocacy, JetBrains

“If you have time for only a single source of information about Kotlin, Kotlin Weekly is a great choice. It is reliable, informative and fair”

Marcin Moskala Founder of Kt.Academy

“Kotlin Weekly is a comprehensive newsletter that helps me stay up to date with the most notable and recent developments in Kotlin libraries and new community initiatives.”

Raul Raja CTO 47degrees