Question

In my current project I'm using ImageLoader. I would like to know if it is possible to make ImageView invisible when error ocurres or image doesn't exist on server? If so, how to do it? Now I'm using default image (setDefaultImageResId).

EDIT:

I know how to make View invisibe. I want to know how can I do it with ImageLoader.

Was it helpful?

Solution

Looks like there is no direct way but you can set the error image to an empty drawable

imageTagFactory.setErrorImageId(android.R.color.transparent);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top