Everybody makes wishes. Be it for somebody’s happiness or for themselves. We make wishes at different stages of our lives and in different states of our minds. We may wish differently when we are sad compared to when we are happy. We make our wishes depending on the situations we are in. But do you ever think before making a wish to God or about the consequences it may have in the future?
What we wish today, we might regret it later. Let me explain it with the most common scenario.
Let’s assume that the letters mentioned in the below…
Event handling is a complex process when it comes to Android because we need to consider the lifecycle of the components too. In this blog post, we will be covering how we can use Android’s own LocalBroadcastManager API to send and receive events between different components of the Application.
From the official documentation
Helper to register for and send broadcasts of Intents to local objects within your process.
In simple words, LocalBroadcastManager is used to register BroadcastReceivers which are based on the publish-subscribe pattern. Meaning we can publish events from one place and can listen to them at another.
In this post, we are going to learn some tricks about ConstraintLayout to build a more flexible UI for our Android Application.
According to the official documentation:
ConstraintLayoutallows you to create large and complex layouts with a flat view hierarchy (no nested view groups). It's similar to
RelativeLayoutin that all views are laid out according to relationships between sibling views and the parent layout, but it's more flexible than
RelativeLayoutand easier to use with Android Studio's Layout Editor.
ConstraintLayout helps us to maintain a flat view hierarchy and ultimately increasing the performance. There are many benefits of…
Everything is a widget in Flutter.
As flutter is all about widgets it is vital to understand the behavior of these widgets.
There are two types of widgets in flutter:
In this post, I am going to discuss about stateful widgets.
A stateful widget is made from two things: widget and state.
We have often come across the problem when we make little changes to our code and we have to publish a new version of our library or app. Well, we can use a better way to manage this by loading code dynamically.
DCL(Dynamic code loading) allows an application to load code that is not part of its static, initial codebase. The additional code can be retrieved from a remote location and executed at runtime.
Code Reuse: If you have multiple apps with similar functionalities, then instead of rewriting the code you can store them in a common location and reuse…
We all come at a stage while developing Android Apps that we need to do work which is time consuming and includes networking. Well if you are not a beginner you must be knowing a little about services. I will discuss briefly about service and then we will dive a little deeper into it.
According to official docs: A
Serviceis an application component that can perform long-running operations in the background, and it doesn't provide a user interface.
Now let’s understand it in simple words. A service is simply an android component which allows us to do resource intensive…
Android Developer at upGrad