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
Thanks for the repro project! I think this is due to ViewSizeResolver waiting at most one layout pass for valid dimensions when instead we should wait as many as needed. Will have a fix up soon.
Describe the bug
Consider the following layout:
When Coil loads an image into a View whose visibility is "gone", it will downsample the image into a 1x1 BitmapDrawable.
Expected behavior
I think other libraries won't even start loading the image until the target View has valid dimensions.
I think it has something to do with this size resolver.
To Reproduce
Run the project: https://gitlab.com/littledot/android-bug-report
Logs/Screenshots
Version
Coil 0.10.1
The text was updated successfully, but these errors were encountered: