coil-kt / coil

Image loading for Android and Compose Multiplatform.
https://coil-kt.github.io/coil/
Apache License 2.0
10.65k stars 648 forks source link

Loading Vector Drawable from URL #565

Closed mattinger closed 3 years ago

mattinger commented 3 years ago

I'm not seeing it mentioned anywhere whether coil can support loading a vector drawable via an http(s) url. I do see support for SVGs via the svg library though, but i'm curious if vector drawables would be supported this way.

colinrtwhite commented 3 years ago

Coil does not support loading vector drawables from the network. I'd like to add this, however it's currently not possible as VectorDrawableCompat only has a createFromXmlInner method which requires a Resources instance.

atonamy commented 1 year ago

Any plans from Google to support such feature especially loading Animated Vector Drawables from external source like file or stream? Anyone anything knows about this?