[caption id="attachment_62761" align="aligncenter" width="625"] The Future of Mobile App Development: User Experience, Trends and Technologies[/caption] Introduction Mobile app development leads the way in innovation in a quickly changing digital environment by constantly adjusting to satisfy users' shifting requirements and...
What is Screenshot testing Screenshot or snapshot testing is a way to automate the validation of the UI components and widgets. It prevents regressions when updating any existing screen or component. A screenshot testing tool helps render a piece of UI (a screen or component), takes a snapshot of it, and then compares it with the...
Introduction When starting a new Flutter application, choosing the right state management approach is crucial. This blog aims to simplify that decision for you. In this tutorial on Flutter state management with GetX, I will introduce you to GetX, a robust Flutter framework. GetX State management facilitates data transfer within an...
Introduction Unit testing is a cornerstone in Android app development, ensuring code reliability, maintainability, and expediting debugging processes. This comprehensive guide delves into the fundamentals of unit testing within the Android ecosystem. We'll traverse through pivotal components like data classes, repositories, ViewModels,...
In Jetpack compose state determine what is shown on UI. It is a value that changes over time. There are 2 ways to maintain state. Stateless composable: Stateless composable does not have any state or rely on parent state. This kind of composable does not require re- composition of UI. It is used to display static UI. Stateful...
Android, Front End Development
It is understood that using basic layout structures is an efficient way to create UI. Here, we need to understand that each widget that we add to our layout structure requires initialization and drawing. Below, we will discuss some of the Android API's to improve UI performance. ViewStub ViewStub is a zero-sized view that is invisible...
Description When the UI thread of an Android app is blocked for too long, an "Application Not Responding" (ANR) error is triggered. If the app is in the foreground, the system displays a dialog to the user, as shown in the figure below. ANRs are a problem because the app's main thread, which is responsible for updating the UI, can't...
Multiple back stack support was added in Navigation 2.4.0-alpha01 and Fragment 1.4.0-alpha01. In this discussion, we will cover supporting Multiple backstacks with the conventional FragmentManager API. We will be using `Fragment 1.4.0-alpha01` or later to implement this. Background The fragment's backstack in Android is not made of...
During the development journey, we may require to show unlimited data as no of users of a particular mobile application grows, so does the data associated with that application. Consider the image application, the user scrolls to the bottom of the screen and wants to be able to fetch more data from the server to display it, but what...
I have always wondered what set of code to run in the background to make my app powerful and responsive but I don’t really know how. Some time back I got to know about isolates and I tried implementing it. And I should tell you, it was painful. But I recently discovered how easy it has become. So here it is. You might have heard...
Selecting one or the other technology is always a matter of individual preferences but knowing which platform has what benefits can help in deciding the best option. In this blog, we are going to discuss two of the very popular technologies for creating cross-platform apps i.e. Flutter & React Native. Programming Languages Let's...
CameraX is another addition to the Jetpack suite of libraries by Google to help developers incorporate camera capabilities into their applications. Although Camera2 API, the predecessor of CameraX, is known to be a powerful API, it is a little problematic to take full advantage of it, especially with a large number of manufacturers having...