I\'m playing around with the Picasso library for image loading, but I\'m running into an issue. When an image fails to load, I want to hide the view rather than load in a de
My example:
Picasso picasso = new Picasso.Builder(parent.getContext()) .listener(new Picasso.Listener() { @Override public void onImageLoadFailed(Picasso picasso, Uri uri, Exception exception) { //Here your log } }) .build(); picasso.load(shopModel.getShopImg()) .fit() .into(viewHolder.shopImg);