There is tremendous growth in the Android ecosystem around the globe with a diverse community. People from different backgrounds, people with disabilities, people who wish to have fancy features like night mode, and more use Android apps in their day-to-day life.
Developing apps for such a diverse community is not an easy task. I’m not speaking about high-level architectures here. In contrast, it’s about simple things like strings, colors, dimens, etc. that will considerably affect modern Android development.
People usually feel comfortable using an application in their native language. The vital step is to maintain all the strings in a…
One of the best ways to display huge lists in Android is through
RecyclerView. As developers, you all might have used it. We have many advanced features like view holder patterns, rich animation, Diff-Utils callback to improve performance, etc. Apps like WhatsApp and Gmail use
RecyclerView to show endless conversations.
One of the significant
RecyclerView features that I use is view types. We can display multiple view types in the same
This is the fourth part of our series on building an Android application with a proper clean architecture. In this installment, we’re going to focus on base classes for Android components and
ViewModel to centralize the common work.
Before going any further, I would highly recommend reading the previous parts of this series where you’ll learn why we should use a clean architecture, how to implement dependency injection using Dagger2, and more.
In this article, we’re going to learn how to detect if the app is in the foreground or background. Along with that, we’ll also learn how to detect the visible activity to the user.
In the old days, detecting whether the app is in the foreground or not was one of the common tasks that any android developer used to perform. Back then we didn’t have any fancy libraries like LiveData. So developers were responsible to perform actions when the app was in the foreground.
With the introduction of jetpack libraries, the quality of android development has been improved rapidly…
You’re going to learn everything about layouts in Jetpack Compose from the basics to advanced concepts. In the course of this article, you’ll learn about each layout, with real-time examples that you can directly copy-paste into your Compose project to get hands-on experience.
Note: Jetpack Compose recently moved to beta. This means there will no longer be any drastic changes in the API structure. So it would be a great time to learn how to work with this next-generation UI kit for Android development. Layouts are the basic building blocks of the UI, so enjoy the article.
You will need…
Android is one of the leading platforms in mobile development. If you want to reach millions of potential users, defiantly android would be at the top of your list. With this increasing hype, many software engineers choosing android development as their carrier choice.
I’m an android developer for more than five years now, and I’ve been on both sides of the table when it comes to android interviews. So I decided to write a series of articles about android interview Q&A.
Android interviews are a mix of many concepts like android basic to advanced concepts, Kotlin, coroutines, RxJava, Architectures, Design…
In this article, you’ll learn how to implement navigation in Jetpack Compose. You’ll also learn how to pass primitive data types and custom data objects while navigating.
Note: Jetpack Compose recently moved to Beta. This means there will no longer be any drastic changes in the API structure. As such, it would be a great time to learn how to work with the next-generation UI kit for Android development. Navigation is one of the core tasks in Android development, so enjoy the article.
You need to install the Arctic Fox version of Android Studio Canary to use the Jetpack Compose…
This is the third part of a series in which you’ll learn about Data Binding basics and how to use Data Binding with architecture components like
ViewModel. Today, you’ll learn how to use Kotlin coroutines and
StateFlow to update the UI via Data Binding from a
In this article, we’re going to learn what launch modes are and how many types of launch modes are used in Android. A detailed explanation of how each launch mode works will be included.
Since the dawn of Android development, one of the standard things that haven’t changed is launch modes. Launch modes in Android help developers to launch
Activities with a set of instructions on how it should associate with the task.
While implementing navigation in Android apps, you’ll face different requirements, such as destroying a set of backstack
Activities if the user entered into a particular
This is the third installment in a series of articles about building an Android application with a proper clean architecture. In this part, we’re going to focus on
ViewModels and their dependency injection framework.
Before going any further, I would highly recommend reading the previous parts of this series: