Пример #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            global::CarouselView.FormsPlugin.iOS.CarouselViewRenderer.Init();
            global::OxyPlot.Xamarin.Forms.Platform.iOS.PlotViewRenderer.Init();

            YandexMetricaIOS.YandexMetricaImplementation.Activate(ConfigProvider.Config());

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Пример #2
0
        protected override void OnCreate(Bundle bundle)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(bundle);

            global::Xamarin.Forms.Forms.Init(this, bundle);
            global::CarouselView.FormsPlugin.Android.CarouselViewRenderer.Init();
            global::OxyPlot.Xamarin.Forms.Platform.Android.PlotViewRenderer.Init();

            YandexMetricaAndroid.YandexMetricaImplementation.Activate(this, ConfigProvider.Config(), Application);

            LoadApplication(new App());
        }