I tried out vector drawables a few months ago with...
# compose
s
I tried out vector drawables a few months ago with Compose. The loading of the vector drawables was async, which created issues for me with pop-in after the page was being displayed. Is there a way around that?
d
Around what? You want to block the UI instead or...?
s
not have pop-in. On android views it’s blocking the main thread right?
d
Well, the vector drawable is gonna take time to load one way or another. Either you block your UI or you unblock it and have a pop-in (with a decent placeholder).
Oops, I just noticed this isn't #compose-desktop, but what I'm saying should still apply.
a
I am having troubles loading vector drawables asynchronously, could you please share your code?