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

How to add multiple init codes at a time in App.xaml.cs for UWP?

$
0
0

I have init codes of both circle image and pop up image in App.xaml.cs. Only the first code is working, the code after Xamarin.Forms.Forms.Init is not working. My current code is adding below:

       //ImageCircle
       var rendererAssemblies = new[]
        {
            typeof(ImageCircleRenderer).GetTypeInfo().Assembly
        };
        Xamarin.Forms.Forms.Init(e, rendererAssemblies);
        //Popup
        Rg.Plugins.Popup.Popup.Init();
        Xamarin.Forms.Forms.Init(e, Rg.Plugins.Popup.Popup.GetExtraAssemblies());

Now image circle is working and pop up image is not working, how to add multiple init codes at a time?

Thanks in advance.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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