This video has a visual implementation of what we talked about in this tutorial. Watch and subscribe please.

Testing is one of the major requirements that is needed by every developer in order to have a maintainable code base. As the project grows, the business requirements get to be more and as a result, we will need to rely on testing. This is to make sure that we stay confident whenever a change is added to the project without breaking the existing code flow or structure.

Nevertheless, testing can also be a pain when you have to write code…

Today, we will be talking about dependency injections in android and how useful it is to have dependency injection in android app architecture. Let’s have an overview of Dependency Injection.

What is Dependency Injection?

Dependency Injection is seen to be a widely used technique in android programming and it is proven to be a good practice when this technique is followed well in android app architecture. In programming sometimes, some class, classA requires references to another class, ClassB. In this instance, classB is the dependency to classA.

public class Car {private Engine engine; public Car(Engine engine) {…

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.


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.

I have a full tutorials…

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…

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