bumptech / glide

An image loading and caching library for Android focused on smooth scrolling
https://bumptech.github.io/glide/
Other
34.67k stars 6.12k forks source link

Avoid drawing placeholder when it shouldn't be used #5305

Closed sjudd closed 1 year ago

sjudd commented 1 year ago

This isn't a huge deal, but we might as well not try to draw the placeholder if we can tell it's not going to be used. In particular this might fix an issue where a custom transition would draw the placeholder twice before or after the transition was supposed to have run.