문제

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.

도움이 되었습니까?

해결책

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

imageTagFactory.setErrorImageId(android.R.color.transparent);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top