Kotlin Weekly #-233!
Morning folks. One more week and one more issue coming to your mail inbox. Enjoy it.
My MutableStateFlow Didn’t Emit! (handstandsam.com) You should rather be using MutableStateFlow when dealing with Flow. Read this article by Sam Edwards to learn the reasons.
The future of apps: Declarative UIs with Kotlin MultiPlatform (D-KMP) — Part 1/3 (danielebaroncelli.medium.com) First article in the serie by Daniele Baroncelli explaining how can Declarative UIs be achieved from KMP.
Avoid backing properties for LiveData and StateFlow (medium.com) Using prefixes in backing fields in LiveData is wrong, but there are also some other potential issues Danny Preussler wants to warn you about.
Enable iosMain sourceSet in Kotlin Multiplatform Mobile projects (medium.com) When developing iOS in KMP, the code is considered by the compiler in several versions: iosArm64, iosX64, and also iosArm32. This article explains how to approach this scenario.
Nested tests with Junit5 (kotlintesting.com) Nested tests in Junit5 allows us grouping test cases. Check how to do this in presenter tests.
Helping You Understand The Syntax of Jetpack Compose (oussamahaff.dev) This article by Oussama Hafferssas aims to clarify the syntax of Jetpack Compose from a Kotlin perspective.
Deploying server-side Kotlin Ktor applications on Dokku (dev.to) In this article by Sebastian Aigner, you will learn how to deploy ktor apps on Dokku.
Drawing and painting in Jetpack Compose: More on Canvas (dev.to) This article describes how to use Canvas on Jetpack Compose.
Senior Software Engineer at Squarespace (grnh.se) Squarespace is seeking a Senior Software Engineer - Android to join our small, collaborative team responsible for the end-to-end development of our Android applications and the long-term vision of Squarespace on mobile devices.
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!
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
Kotlin Weekly is a weekly newsletter distributed currently to 22.907 developers worldwide. We offer sponsorships to be included in our mailing list. There is only one sponsored ad per issue, so you don't have to compete with others for attention. We are very transparent on how the Kotlin Weekly operates. We also offer, at the end of the newsletter, the option to include a job ad. If you are interested, drop us a message and let us know what you want.