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
It shows for the first time, when the image is downloading, but for the second time, when it's fetched from the cache, the screen just goes blank while the image is loading. I don't know the inner mechanics of this, the impression that I have is that the large image is being rendered, so there's nothing on screen, or the image is being loaded on memory.
Since this is a large image, the screen can go blank for 3s.
Again, I suspect this is something between the cache retrieval and the image rendering.
The first time you load the screen there should be a CircularProgressIndicator, but the second one the screen should go blank for some seconds and then the image will magically appear.
Is this a feature for avoiding showing the placeholder for images on cache? This should work pretty nicely for small images, but bigger ones it won't, maybe have a timer to show the placeholder if loading the image takes longer than 500 milliseconds? Maybe have it as a property so we can set it up?
Expected behavior
The placeholder should be shown until the image isn't loaded for more than 500ms.
Reproduction steps
Configuration
Version: 2.0.0
Platform:
📱 iOS
🤖 Android
The text was updated successfully, but these errors were encountered:
In the current version the library doesn't keep track of the proces of reading the image from disk. The image you linked is really very large. Mobile phones are still limited in disk space, memory and data usage, especially the cheaper once. I would really recommend to shrink the images before you download them or, if you don't have access to the server, shrink them after downloading.
🐛 Bug Report
When the library downloads a large image that's already on cache, such as:
https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg
The
placeholder
won't show.It shows for the first time, when the image is downloading, but for the second time, when it's fetched from the cache, the screen just goes blank while the image is loading. I don't know the inner mechanics of this, the impression that I have is that the large image is being rendered, so there's nothing on screen, or the image is being loaded on memory.
Since this is a large image, the screen can go blank for 3s.
Again, I suspect this is something between the cache retrieval and the image rendering.
Try this for replication:
The first time you load the screen there should be a
CircularProgressIndicator
, but the second one the screen should go blank for some seconds and then the image will magically appear.Is this a feature for avoiding showing the
placeholder
for images on cache? This should work pretty nicely for small images, but bigger ones it won't, maybe have a timer to show theplaceholder
if loading the image takes longer than 500 milliseconds? Maybe have it as a property so we can set it up?Expected behavior
The
placeholder
should be shown until the image isn't loaded for more than 500ms.Reproduction steps
Configuration
Version: 2.0.0
Platform:
The text was updated successfully, but these errors were encountered: