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
{{ message }}
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
Hi, I am currently trying to load my remote SVGs from a background thread and having some difficulty.
First, this library works perfectly when I load on the main thread and it's awesome!
Second, even when running on the main thread: I will get an error with trying to use the .asBitmap() method when loading the SVG into an imageview and I get an error while trying to set a DiskCacheStrategy.
With background threads, I used the method asDrawable() and I tried both ways recommended on this page: Glide docs - background threads
When I try the first method, I get a java.lang.InterruptedException.
With the second method, I get up to the onLoadStarted event and not further. When turning off my device, it then runs the onLoadCleared event.
I am probably missing something basic, but any help would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
Hi, I am currently trying to load my remote SVGs from a background thread and having some difficulty.
First, this library works perfectly when I load on the main thread and it's awesome!
Second, even when running on the main thread: I will get an error with trying to use the
.asBitmap()
method when loading the SVG into an imageview and I get an error while trying to set a DiskCacheStrategy.With background threads, I used the method
asDrawable()
and I tried both ways recommended on this page: Glide docs - background threadsWhen I try the first method, I get a
java.lang.InterruptedException
.With the second method, I get up to the onLoadStarted event and not further. When turning off my device, it then runs the onLoadCleared event.
I am probably missing something basic, but any help would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: