Android

Using the Paged List with Boundary Callback in Android

In this post, I will explain how to use the Android Paged list with a boundary callback. The idea is to see an example where both the network and the local database is involved.

How to use Room Persistence library in Android using Kotlin

In this post, I will show you how to quickly add Room support for Room database in your app using Kotlin. There are quite a few articles on how to use Room but most of them are not up to date.

Working with NFC tags on Android

In this post, I will show you how to read and write an NFC tag on an Android device. We would be using Android’s NFC capabilities to read and write a tag.

Working with Recycler Views in Espresso Tests

In this short post, I will introduce you to a few utility methods that might be useful while working with RecyclerView in Espresso Tests. Introduction In this post, I am assuming that you are already using a RecyclerView in your app.

How to Display Low Resolution Image as the Place Holder

Fresco is a powerful system for displaying images in Android applications. There are situations where the original image is quite big and would take considerable amount of time to load. In such scenarios, it is advisable to display a low resolution image or thumbnail image until the original image loads.

How to Automate Google Play Store Releases

Manual publishing of an app is time-consuming and involves a lot of repetitive steps that could be easily automated. Manual publishing involves these steps: Create a signed APK for your app.

How To Improve Test Coverage For Your Android App Using Mockito And Espresso

Frameworks such as Espresso and Mockito provide easy-to-use APIs that make writing tests for various scenarios easier. Let’s cover the fundamentals of testing and frameworks which developers can use to write unit tests.

How to Mitigate Slow Build Times While Using Firebase Performance Plugin

I recently added Firebase Performance Plugin to one of my projects and experienced a drastic increase in the build time of the app. The app initially used to build in under 20 seconds and with the addition of this plugin, it started taking around 5–6 minutes for a single build.

Understanding the format of NDEF Messages

The NFC Data Exchange Format ( NDEF) is a standardized data format that can be used to exchange information between any compatible NFC device and another NFC device or tag. The data format consists of NDEF Messages and NDEF Records.

How To Improve Coverage for your Android App Using Mockito and Espresso — Part 2

In the first part of this article we got an introduction about various frameworks available to us for writing tests for an Android app. We also saw some best practices that could be followed to write more testable code.