In a previous tutorial, you've learned how to log image loading with the Android Studio Profiler. In this tutorial, you'll learn how you can analyze requests and responses using Facebook's Stetho debug tool. Stetho maps Picasso's network activity to Chrome's developer tool. This offers the network information during the development phase in a more accessible way, which you'll appreciate over time.
However, you'll need to integrate the OkHttp downloader. Additionally, you'll need to customize the OkHttp instance with an OkHttp interceptor. But no worries, we'll guide you through each step.
Picasso Series Overview
- Influencing Image Caching
- Cache Indicators, Logging & Stats
- Catching and Analyzing Errors
- Log Image Loading with Stetho and Chrome Developer Tools