As Kotlin continues to revolutionise the development landscape, effective documentation has become more crucial than ever. That’s where KDoc comes in Kotlin’s powerful documentation tool. In this article, we will dive into the world of KDoc and will explore its basics, best practices and how the Dokka library can take documentation to the next level. […]
Diagram from kotlinlang.org Kotlin’s coroutines offer a powerful way to manage concurrency and asynchronous programming. However, to use them effectively, it’s crucial to understand the lifecycle of a coroutine. In this blog post, we’ll explore the coroutine lifecycle, focusing on the states of a coroutine’s Job, how they transition between states, and practical examples to […]
Photo by Vilnis Husko In today’s mobile-first world, seamless user experiences are crucial, especially regarding authentication. One common method is using One-Time Passwords (OTPs) sent via SMS. But how can you read these SMS messages and extract the OTP effortlessly in your Android app? In this blog, we’ll dive into various methods to read SMS […]
I need to migrate my old java code that creates a Drawable instance which is a gradient with a starting color in the upper part and a finishing color in the bottom part. It worked perfectly in java, but after migrating the code to kotlin and compose, getDrawable function returns an empty transparent drawable: override […]
How to Enter the Lottery🎟️ 👉 Register for the Kotlin Expert training by October 27th, 2024. 👉 Complete your payment by the same date. You’ll automatically be entered into the draw. If you win, you’ll attend Droidcon Italy for free and connect with top Android professionals! Terms & Conditions The draw happens on October 28th, […]
Boost Compatibility: When to Use or Skip New Java and Kotlin Versions in Android Development This image was generated with the assistance of AI Ever wondered when you can or cannot use the latest Java and Kotlin versions in Android development? In this article I will try to give you the answer. As Android developers, […]
Using Android 15 new ApplicationStartInfo Android 11 introduced ApplicationExitInfo, from which you can get historical reasons why the app was turned off / killed. Android 15 implemented new ApplicationStartInfo can be used to analyze the causes of why and how the app was launched. With both kinds of data, you can track how the users […]
Kotlin Multiplatform Contest for students and recent graduates Calling all students and recent graduates! The Kotlin Foundation is hosting the Kotlin Multiplatform Contest, and personally, I think this is a plush opportunity to make your creativity shine. Build a cross-platform project using Kotlin Multiplatform and submit it by January 14, 2025, for a chance to […]
In Android development, coroutines are commonly launched from ViewModel classes using viewModelScope. The typical usage looks like this: viewModelScope.launch {// … implementation} In Android development, coroutines are commonly launched from ViewModel classes using viewModelScope. The typical usage looks like this: viewModelScope.launch {// … implementation} By default, if a dispatcher is not specified, any coroutine launched […]
12 min read · Sep 22, 2024 Jetpack Compose’s animation API is both powerful and enjoyable to work with. And when combined with the graphicsLayer() and drawing modifiers, it really open up possibilities for creating some really cool animations. In this article, we’ll dive into exactly that by exploring how to create the following loading […]