androidsvg
androidsvg copied to clipboard
Reuse SVGAndroidRenderer
To avoid all the problem with Picture I would like to draw the SVG in my View's onDraw. The renderToCanvas method works great for this but it allocates a new renderer which is not optimal.
Would there be a way to create this renderer once instead of creating a new one each time.
The entire UI should be made in SVG and rendered in a single pass on a single canvas. That would be the best solution for performances, especially when using SVG animations, tweens, transitions, etc.