Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

XamSVG

$
0
0

Hi folks,
I'm trying to follow the instructions to use XamSVG in my app from here: http://components.xamarin.com/gettingstarted/xamsvg

The instructions assume that a Xamarin Forms app always has an app.cs - but mine doesn't. All I see is MainActivity.cs which does the following call involving App:

LoadApplication( new App());

Does this mean I need to subclass App so that I can put the following code in its constructor?
var assembly = typeof (App).GetTypeInfo().Assembly;
XamSvg.Shared.Config.ResourceAssembly = assembly;

Thank you!
Mike


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>