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 #-429!

Compose Multiplatform 1.7.0 Released (blog.jetbrains.com) Compose Multiplatform 1.7.0 introduces type-safe navigation, Material3 adaptive components, iOS performance improvements, desktop drag-and-drop, and better resource handling across platforms.

Kodee’s Kotlin Roundup: Exciting News + Special Announcement! (blog.jetbrains.com) Summary of some of the Kotlin news from the last months, including the ANNOUNCEMENT OF THE YEAR: you can now buy a fluffy Kodee on the merchandising website.

[SPONSORED] Webinar: Introducing a Market-Changing Approach to Mobile App Security (www.guardsquare.com) Join Guardsquare to learn more about our new guided configuration approach to mobile application protection. Our latest innovation ensures that all developers, regardless of their security knowledge, can effortlessly deliver apps with industry-leading protection - in less than a day. Register now.

Why Migrate from Dagger2/Hilt to Koin? (blog.kotzilla.io) In Koin’s first webinar, Arnaud Guiliani discussed migrating from Dagger2/Hilt to Koin for Kotlin Multiplatform (KMP), emphasizing Koin’s simplicity, native KMP support, and the benefits of a gradual migration.

Kotlin Under the Hood: Exploring Constructors and Init Blocks (medium.com) This blog explores how Kotlin’s primary and secondary constructors, along with init blocks, function under the hood, showing how initialization and constructor delegation work in Kotlin, with insights into the corresponding Java bytecode.

Interface Delegation in Kotlin (poisonedyouth.github.io) This article explains Kotlin’s interface delegation, which allows a class to delegate the implementation of an interface to another object, enhancing code reusability, flexibility, and separation of concerns while promoting composition over inheritance.

Piloting Kotlin Multiplatform is Easy. Scaling is Hard (touchlab.co) Kevin Galligan highlights the challenges native mobile teams face when scaling Kotlin Multiplatform and suggests that scaling requires integrating KMP into feature development rather than relying on a library publishing model, while avoiding workflow friction by not forcing radical changes to team structures.

Viewing the logs inside the application with LogKMPanion (medium.com) Sergei Mikhailovskii introduces LogKMPanion, a Kotlin Multiplatform library designed to simplify viewing and managing application logs across Android and iOS, addressing challenges faced by QA engineers in accessing logs and providing a user-friendly UI for session-based network logs and more.

Why r8 preferred BMW over Audi? (theapache64.github.io) In this article, the author explores the impact of R8’s fullMode on APK decompilation, revealing that while BMW is retained in the optimized output, Audi is removed due to its similar structure, highlighting the importance of understanding how aggressive optimizations can affect code behavior and visibility in Android applications.

Replacing Handlebars - kotlinx.html for HTMX (www.youtube.com) In this episode, Duncan McGregor performs a spike refactoring by replacing Handlebars templates with Kotlin’s kotlinx.html DSL to improve our Gilded Rose codebase, using approval tests and encountering unexpected browser test failures.

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