I'm using Glide to load .png image asynchronously.
File file = Glide.with(context).load(location).downloadOnly(1024, 1024).get();
In case of .svg, the file is created but it is not loading into ImageView.
ImageView only accepts Bitmaps or VectorDrawables.
SVG is neither of the two, even if VectorDrawable descends from it.
Get a
PictureDrawablefrom yourSVGfile. Then you need to create aBitmapfrom the size of thePictureDrawableand give it to aCanvas.