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
Let's say we have a two PINAnimatedImageView instances, if we load same gif url simultaneously for those two image views, only one of them will work. Another one will not load anything.
Issue happens because only one PINAnimatedCachedImage instance is created for those two image views so those two views use same PINAnimatedCachedImage instance. PINAnimatedCachedImage has coverImageReadyCallback and playbackReadyCallback properties which seems not designed to work right in this case. What happens is one image view sets coverImageReadyCallback and playbackReadyCallback properties and another one is overriding them.
The text was updated successfully, but these errors were encountered:
Let's say we have a two
PINAnimatedImageView
instances, if we load same gif url simultaneously for those two image views, only one of them will work. Another one will not load anything.By simultaneously I mean something like this:
Issue happens because only one
PINAnimatedCachedImage
instance is created for those two image views so those two views use samePINAnimatedCachedImage
instance.PINAnimatedCachedImage
hascoverImageReadyCallback
andplaybackReadyCallback
properties which seems not designed to work right in this case. What happens is one image view setscoverImageReadyCallback
andplaybackReadyCallback
properties and another one is overriding them.The text was updated successfully, but these errors were encountered: