| 634f8d12 | 25-Jul-2023 |
Łukasz Kosmaty <[email protected]> |
[image][Android] Fixed placeholders aren't always replaced by full-size images (#23705)
# Why
When debugging https://github.com/expo/expo/issues/22515, I noticed that full-size images only someti
[image][Android] Fixed placeholders aren't always replaced by full-size images (#23705)
# Why
When debugging https://github.com/expo/expo/issues/22515, I noticed that full-size images only sometimes replace placeholders which is incorrect behavior.
# How
For some reason, the RN changes the image view box's size multiple times, leading to numerous Glide requests. Those requests cancel each other to save CPU and other resources, but we cancel too much because of a minor bug in our code.
# Test Plan
- bare-expo ✅
- https://gist.github.com/buraks/ed0e69c0267d1c92c9bdb0b61d4e21e7 ✅
show more ...
|