You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I have a problem with the PlaceHolder Image: I use the code exactly as shown in the readme here, so both imageurl and PlaceHolder Imagefilename are supplied. On first run my app of course shows the PlaceHolder and it's replaced after download, that's fine.
But also on the second, third etc. run the placeholder image is displayed first. Only for maybe 0,1 - 0,2 seconds, but long enough so that the user notifies it and also the replacement. I'm sure the images are already cached because the display of the placeholder is much shorter than on the initial run but nevertheless the placeholder is displayed first :-( is it possible to show the placeholder only if the image is not yet cached? It seems to be same request like in #541
Thanks!
The text was updated successfully, but these errors were encountered:
may be after u scroll for a duration, images memory is recycled by system, so the next time you scroll to the imageView it has to read from disk, it may cost some time, like you see.
if u don't put a placeholder then the 0.1-0.2 seconds just become blank, you sure this is what you want?
or you can use SDWebImageManager to deal with yourself, combine with prepareForReuse
When I don't put an image in the placeholder, the others images already loaded appears instead a blank image. So, it is weird.. any idea? How do you solve this?
Hi all,
I have a problem with the PlaceHolder Image: I use the code exactly as shown in the readme here, so both imageurl and PlaceHolder Imagefilename are supplied. On first run my app of course shows the PlaceHolder and it's replaced after download, that's fine.
But also on the second, third etc. run the placeholder image is displayed first. Only for maybe 0,1 - 0,2 seconds, but long enough so that the user notifies it and also the replacement. I'm sure the images are already cached because the display of the placeholder is much shorter than on the initial run but nevertheless the placeholder is displayed first :-( is it possible to show the placeholder only if the image is not yet cached? It seems to be same request like in #541
Thanks!
The text was updated successfully, but these errors were encountered: