March 2016
Intermediate to advanced
428 pages
9h 2m
English
Our last recipe on Volley will not be a request per se, but a replacement for the ImageView. Requesting an image to populate an ImageView is such a common task; Volley combines the functionality to a new view called NetworkImageView. This recipe will demonstrate how to use a NetworkImageView.
Create a new project in Android Studio and call it NetworkImageView. Use the default Phone & Tablet option and select Empty Activity when prompted for Activity Type.
This recipe will be using the setup described in the Getting started with Volley for Internet requests recipe. Follow Steps 1-5 to add Volley to your new project.
With Volley added to your project as described previously, ...
Read now
Unlock full access