-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add callback for preload completion. #144
Comments
+1 |
Yeah this behavior is not ideal. A callback would be nice too. I'm considering trying out some other native library if there's one offering similar performance with a better API. See: #13
I'll add a note in the docs for now, and a link to that issue. |
Any update on this? Could def use it in my app... Everything else is working great. Thanks for this awesome component |
Any update on this? |
updates? |
this patch might help I ran into this, btw only works on ios
|
We have several places in the app where we need to trigger image preloading. We can't do it all at one time, as we load resources along the way.
The issue here is that SDWebImage has a nasty side-effect built into it, it cancels any ongoing prefetch jobs when you call prefetchURLs. There's another variant of the method that has a completion block that returns the progress of the prefetch jobs. Would it be in any way possible to add support for a callback so that we could at least queue the preload calls in our end?
Haven't checked Glide if it supports similar behavior.
The text was updated successfully, but these errors were encountered: