How to load image from server in low quality using Volley to reduce image loading time like whatsapp doing circular images load with low quality and when tapped Image start load in High quality, I also want to first load image in Low quality from server so to reduce loading time and when user tapped on image it load in high quality how is it possible using volley NetworkImageView
? thanks in advance
code i was using to load image from Server :
imgLoader.get(url, new ImageListener() {
@Override
public void onErrorResponse(VolleyError arg0) {
}
@Override
public void onResponse(ImageContainer bm, boolean arg1) {
productImagebitmap=bm.getBitmap();
smallImageView.setImageBitmap(productImagebitmap);
}
});