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


Suscribe

* indicates required

Latest Issue

Kotlin Weekly #-456!

[SPONSORED] Recomposition Mastery in Jetpack Compose – June 27! (kt.academy) One-day workshop for developers serious about UI performance! Learn recomposition, caching & best practices in Jetpack Compose. Hands-on training + certificate!

Kotlin Generics Explained: Once Upon a Type… (proandroiddev.com) Suhyeon Kim explains Kotlin generics through a fantasy story, covering invariance, covariance, contravariance, type erasure, and the use of inline and reified keywords for runtime type checks.

Suspending Kotlin Beyond Coroutines (sam-cooper.medium.com) Sam Cooper explores creative uses of Kotlin’s suspend keyword beyond coroutines, including sequences, deep recursion, serialization, custom control flows, parsing, and even building custom coroutine frameworks.

Kotlin Coroutines: The real difference between Job.cancel() and Scope.cancel() (proandroiddev.com) Anatolii Frolov clarifies the difference between Job.cancel() and cancelling a CoroutineScope.

Migrating To Kotlin 2.0 In Your Jetpack Compose Project (proandroiddev.com) Tomer Pacific explains how to migrate a Jetpack Compose project to Kotlin 2.0 by updating build configurations to Kotlin DSL, adopting Gradle Version Catalogs, and integrating the new Compose Compiler plugin.

How Dropbox leverages testing to maintain high level of trust at scale (medium.com) Second part of the Testing at scale series of articles at Android Developers. In this article, Ryan Harter, Staff Engineer at Dropbox, shares how the shape of Dropbox’s testing pyramid changed over time, and what tools they use to get timely feedback.

Getting Started with Media3-UI-Compose: Compose UIs for Media Playback (proandroiddev.com) Nav Singh explains how Media3-UI-Compose simplifies building media playback UIs in Jetpack Compose with new state classes, despite current limitations like non-functional previews.

Double Dispatch: Prelude to the Visitor Pattern (www.youtube.com) Dave Leeds explains double dispatch, how it’s usually handled in single-dispatch languages, and how Kotlin features can simplify it before diving into the Visitor Pattern.

Building KMP Libraries: The RevenueCat Story (www.youtube.com) Sebastian and Márton discuss building KMP libraries with Jay Shortway, the author of RevenueCat’s Kotlin Multiplatform SDK for in-app purchases.

Aurora Store with Aayush Gupta (thebakery.dev) Nico Corti speaks in this new episode of The Developers’ Bakery with Aayush Gupta, maintainer of Aurora Store, a popular alternative to the Google Play Store.

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