News
Entertainment
Science & Technology
Life
Culture & Art
Hobbies
News
Entertainment
Science & Technology
Culture & Art
Hobbies
Hey there! In this article, we’ll discuss best practices for writing tests that are maintainable, readable, and efficient when using MockK. We’ll also cover tips to avoid common pitfalls and look at…
In this article, I’ll guide you through integrating a Bottom Navigation Bar for compact screens and a Navigation Rail for larger screens in a Compose Multiplatform app. By the end, you’ll have a…
Discover how Binary Compatibility Validator helps library developers prevent runtime crashes and maintain backward compatibility. What makes breaking changes so dangerous in library development?
As Android developers, we frequently rely on Android Studio’s “Run” or “Start” button to build, deploy, and launch our applications on emulators or physical devices. But have you ever wondered what…
Hey there! In this article, we’re going to explore how to handle asynchronous code in your unit tests using MockK. We’ll cover: Suspend functions are at the heart of coroutine-based asynchronous…
Have you ever found yourself traveling with friends on a low-cost carrier, choosing not to pay extra for seat selection, only to end up scattered all over the airplane? I have, and that’s why I…
Kotlin is a programming language known for its friendly and flexible syntax. One of its coolest features is the ability to create Domain Specific Languages (DSLs). DSLs are like mini-languages built…
As a mobile operating system, Android has to deal with limited memory resources. The OS carefully monitors memory usage and takes steps to free up memory when it becomes low. With this rule in mind…
Hey there! In this article, we’ll dive into how to use MockK to test Android-specific components like ViewModel, LiveData, Activity, and Fragment. We'll also explore integrating MockK with libraries…
Let’s say you’ve built a Compose Multiplatform (CMP) app that works perfectly on both Android and iOS. Now, you want to create a demo web version to increase downloads. Thanks to Kotlin/Wasm and the…
On thursday 12 December 2024, The Android invited developers and journalist in New York to present what looks like the future of Android: Android XR. Android XR is a variation of our beloved Android…
As Android developers, one of the most crucial tasks is efficiently managing asynchronous operations, especially when dealing with network requests and UI updates. The challenge lies in ensuring that…
One of the most common challenges Android developers face is managing data across configuration changes, such as screen rotations. Traditionally, saving and restoring data required handling…
Dependency Injection is an essential aspect of modern Android development, and Koin has earned its place as one of the most developer-friendly libraries for this purpose. I’ve previously shared my…
Primary keys are fundamental to maintaining data integrity and enabling efficient data retrieval. They uniquely identify each record in a table, ensuring no duplicate entries exist and that…
Let’s start by looking at the two final states of the header that we’ll achieve using NestedScrollConnection and SubComposeLayout in Jetpack Compose. To better understand how this UI is structured…
In Android, interprocess communication (IPC) is essential for enabling different components to communicate across process boundaries. Whether it’s an app requesting location updates from the system’s…
This article is inspired by a talk I gave with David Ta in 2024, entitled “Why is Adaptive Layout a Nightmare?”. During that presentation, we wanted to explain how complex it was to migrate an…
Android Interface Definition Language (AIDL) is a powerful tool for enabling interprocess communication (IPC) in Android applications. While theoretical explanations are helpful, understanding AIDL…