Home » Android

Android

How Do You Prefer The Android App Devices For The User?

Android is a kind of os getting popular than many other OS. Most of the smartphone population traffic is used on android. Many top features are used to build with smartphone devices. Applications are getting extremely high and the options are enormous. Many users might have a chance to confuse in the selection of the android app. By using the ...

Read More »

Using Work Manager in Android with Example

In this post, we’ll take a look at how to use the work manager in android. Work manager is a part of the android architecture components and is a good replacement of all the previous scheduling options. Other scheduling options such as JobScheduler, GcmNetworkManager etc. But they had their shortcomings. GcmNetworkManager required play services, so it won’t work on some ...

Read More »

Android Fragment Lifecycle Explained!

Whether you’re preparing for an interview or want to implement fragments in your app, you should know about the fragment lifecycle. Most of us know android activity lifecycle pretty well, but not fragment lifecycle as such. How does the fragment lifecycle interact with activity lifecycle? What’s the difference between adding a fragment vs replacing it ? We’ll take a look ...

Read More »

Android Launch Modes and Tasks Explained

Android launch modes are a very conceptual topic in Android development and can be easily messed up. There are 4 major launch modes in android that you need to know about: Standard SingleTop SingleInstance SingleTask Launch modes are very frequently asked in android developer interviews and can be tricky if presented with a complex scenario. Most discussions are around, what ...

Read More »

Android Activity Life Cycle – The Complete Guide

Android activity life cycle if one of the most asked questions in Android Developer interviews. It is also the one to mess up easily. You must have already seen this activity lifecycle diagram from developer.android.com and many android development books. source: developer.android.com But this is not enough. This diagram just outlines the activity lifecycle callback sequence through it being created ...

Read More »

Android Logs Analysis

Android uses a centralized system for all logs and application programmers can also write custom log messages. The tooling to develop Android applications allows you to define filters for the log statements you are interested in. Log analysis is a phase of development and developers encounter it from time to time. Bug log helps in identifying the bugs in the ...

Read More »

ListView using SQflite in Flutter – Todo Application

In this tutorial, we’ll take a look at how to create a ListView using Sqflite in Flutter. In the previous article on Sqflite in Flutter, we saw how to build a simple todo application using Sqflite. Since then, I’ve gotten a lot of requests to create an article on how to build a listview using Sqflite. So, in this tutorial, ...

Read More »

Double back button press to exit in React Native

In this quick tutorial, we’ll be taking a look at how to implement double back press to exit, in React Native. This is quite common functionality where apps require the user to press the back button twice (in Android) to exit the app. And this is also fairly straightforward to understand.  We’ll make the use of BackHandler provided by React ...

Read More »

Paging Library 3 and Content Provider

I needed to display the contents of a Android content provider in a recyclerview with pagination. I also wanted to try out version 3 of the Android Paging Library (which is currently in 3.0.0.alpha2 release), but most of the sources of documentation and tutorials are targeted at accessing either a network (e.g. Retrofit) or a database. So I wrote a ...

Read More »