Introduction of Dev tools in Flutter Flutter Dev tool provides an in-depth analysis of App performance from UI to CPU and memory usage of the app. Flutter provides a Profiling tool that can help in better understanding our app's run time performance. To use profiling tools following conditions need to be taken into consideration - ...
Introduction Asking for biometric verification, such as face or fingerprint recognition, is one way to safeguard private data or premium content inside your app. It's crucial, particularly for apps related to finance and healthcare that demand authentication each time a user launches them. This guide covers how to enable biometric login...
[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...