Suggestion: here's how you might be able to parse VectorDrawable
AndroidDeveloperLB opened this issue · 0 comments
AndroidDeveloperLB commented
The problem there is that it's using reflection.
However, the reflection is just to parse binary XML files, which I think the current repository can already do (using BinaryXmlParser, kinda) , no?
I tried using other methods, but it caused an exception of java.lang.ClassCastException: android.util.XmlPullAttributes cannot be cast to android.content.res.XmlBlock$Parser
, so maybe it wants to use only the reflected XmlBlock class...
:(