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.
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.
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.
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.
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.
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.