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

Finish animation ignoring cancellation. #5279

Closed kanelbulle closed 1 year ago

kanelbulle commented 1 year ago

Fixes #5278

Invokes the animation finish non-cancellable in case the coroutine has been cancelled. Without it I think there's a risk we might leave something half-animated. Even if that can't practically happen, I believe this is best practice.

sjudd commented 1 year ago

Thanks!