Adds placeHolder attribute in the WebCachedImageView#1
Conversation
There was a problem hiding this comment.
Must check here if placeholder is null. If it is, must set the alpha to zero.
|
You're the man! This was on my todo list, exactly like this. Thanks! But there is one thing: unfortunately this pull request removes the Animation code I wrote… If you have the time and want to fix it on another pull request, it'd be great! If you don't, don't worry. I already thought of a way to keep both the animation and the placeholder. I can do this on monday. |
There was a problem hiding this comment.
url can't be null here, because of the way cancelPotentialWork gets called.
|
I think when we have a placeholder we should have a policy about when setImageUrl is called with a null reference, maybe cancel the task and show the placeholder? |
It was added the "placeHolder" attribute in the WebCachedImageView to allow the user to set, by XML Layout, a default image while the requested image is downloaded.