In android studio, there is a tool that helps to improve project source files and optimize the performance of correctness-checking, check potential bugs, security, usability and accessibility.

As much as Android testing is importance to the performance of the core functionality, so is the Android Linting which helps to ensure that there is no poorly structured codes that can impact the performance and maintenance of the codebase. For example, in XML, when there is unused namespace in xml file, which takes up space and incurs unnecessary processing. …

Photo by Daniel Romero on Unsplash

Data transfer between android app and web server can make your application significantly useful and sometimes compelling to your users depending on the approach taken to implement the transfer. Users may want their data on server to be available on their android app so that the application will be useful in offline.

Although you can design your own framework to make this data transfer and synchronization work, you can make use of android sync adapter framework that can do a whole lot for you than you might do it yourself. Sync Adapter is a plugin that does data synchronization and…

Photo by Jonathan Kemper on Unsplash

Users expect app to be responsive and fast to use and as a results, app developers mostly make sure that their apps are responsive as such. When the application is responsive and fast, it gives the user a nice feeling and they might not dump your app for a different one and also, they might give good ratings on your app on play store.

Understanding App-Start Internal

Before we can talk about androidx jetpack app startup library, let’s try to understand what happens when app is started. We have three states that app can pass through before they can be fully visible.

The…

Photo by Danielle MacInnes on Unsplash

Content provider manages the access to repository of data. Provider is part of android application components. The primary intention of content provider to allow other application to have access to provider through a provider client object. The provider and provider clients combination helps to give secure data access and handling of inter-process communication.

Scenarios in which content providers come handy is basically two ways. First, we use content providers to access the content or data of other applications and secondly, we can create a content provider that gives access or share our application data to other application.

Ways to Use…

Photo by Mado El Khouly on Unsplash

Android animations allow you to change the object behavior and property at runtime. It adds visual cues that notify your users about what is going on in the app. They are especially useful when the UI changes state, such as when new content loads or new actions become available. Animations also add a polished look to your app, which gives it a higher quality look and feel.

When to use Animations in android app

To better understand when to use animations, let’s take a look at how to use animations.
1. Informative: Motion designs help users to understand the relationships between elements, action availability and action outcomes.

RxJava has helped with asynchronous computing in android and now doing some tasks on the background thread and listening on the main thread has become easy with the introduction of RxJava.

With Rxjava Operators, one could combine observables and do work on them at the same time with a small code and one could even choose to do some work at a specific interval with less code and a lot more.

In this tutorial, we would discuss more on the various operators that can be used more often in RxJava to make our work easy.

What is RxJava Operator

Operators…

In this article, we will explain the basics and concepts of RxJava for our fundamental understanding, so this article is to support and help beginners. If you are already familiar with this concept of RxJava, you could also use it to refresh your mind of it.

RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences.

It extends the observer pattern to support sequences of data/events and adds operators that allow you to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety and…

When it comes to android applications, we always wish that users find our application ui interactions smooth and swift. What about having a lot of complex task to be executed in the application? Will we have these complex tasks executed on the main thread or delegate these complex tasks to a helper or a different thread to do these?
These are importance scenarios we need to really give a thought about as an android developer. When the application is started, a thread by default is created which is bound to the process and this thread is the main thread or…

In android we have a lot of ways of performing execution of task in the background or asynchronously. If you were with me in my last article, we talked about how we could use AsyncTask to execute task asynchronously.

If you missed this, then you can click on the linked above to have a look at it. Today, we are going to have a look at how Loaders are implemented in android with a valid example to give a full understanding. Please save me exactly 6 mins of your precious time to sail through this journey together.

Loader is a…

AsyncTask was intended to allow proper and easy use of UI thread, however, its integrations with the UI thread causes memory leaks and missed callbacks and inconsistent behaviours on different versions of a platforms from doInBackground method.

AsyncTask is designed ultimately to be a helper around Thread and Handlers and does not consist of the generic threading frameworks. This is helpful when the task is to last for few seconds but if the task is going to last long then it will be advisable to use a worker thread.

AsyncTask has three generic types namely: Params, Progress, Result and it…

Nyame Bismark

Senior Android Developer at ECOM Trading

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store