Fixes a deadlock that may happend if you call getItem before activity OnStart where glide will lock the main thread waiting for the OnSuccess callback to finish running, which is trying to lock the isolate running in the main thread, creating a deadlock.
Fixes a deadlock that may happend if you call
getItem
before activity OnStart where glide will lock the main thread waiting for the OnSuccess callback to finish running, which is trying to lock the isolate running in the main thread, creating a deadlock.