AndroidSvgLoader
AndroidSvgLoader copied to clipboard
Android library for load svg from internet to imageview
With [Leak Canary](https://square.github.io/leakcanary/) enabled in my project, it's clear that the static `instances` field in [SvgLoader](https://github.com/ar-android/AndroidSvgLoader/blob/055f991d17da4602ee42b73f8d38737958cefa39/svgloader/src/main/java/com/ahmadrosid/svgloader/SvgLoader.java#L17) causes a memory leak. To work around it, I'm currently using `SvgParser` directly.
Well....I am using latest Glide library and your latest too...update your codes..
java.lang.ClassCastException: com.android.internal.policy.DecorContext cannot be cast to android.app.Activity when I load it from a ViewModel.
What kind of license to use AndroidSvgLoader? On the page I did not find the snippet that tells.