// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { try { global::Xamarin.Forms.Forms.Init(); UltimateXFSettup.Initialize(); FreshMvvm.FreshIOC.Container.Register <IMultiMediaPickerService, MultiMediaPickerService>(); //CrossMediaManager.Current.Init(); //LibVLCSharpFormsRenderer.Init(); FreshMvvm.FreshIOC.Container.Register <IMultiMediaPickerService, MultiMediaPickerService>(); FreshMvvm.FreshIOC.Container.Register <IAppOperations, AppOperations>(); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); CachedImageRenderer.Init(); var ignore = typeof(SvgCachedImage); LoadApplication(new App()); } catch (Exception ex) { } return(base.FinishedLaunching(app, options)); }
// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); UltimateXFSettup.Initialize(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); UltimateXFSettup.Initialize(this); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); UltimateXFSettup.Initialize(this); LoadApplication(new App()); }
// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { UltimateXFSettup.Initialize(); PlatformGestureEffect.Init(); Forms.SetFlags("IndicatorView_Experimental"); global::Xamarin.Forms.Forms.Init(); global::Xamarin.Forms.FormsMaterial.Init(); LoadApplication(new App()); DependencyService.Register <ToastNotification>(); ToastNotification.Init(); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; Popup.Init(this, savedInstanceState); //弹出框 CachedImageRenderer.Init(true); UltimateXFSettup.Initialize(this); Forms.SetFlags(new string[] { "RadioButton_Experimental", "Expander_Experimental", "Shapes_Experimental", "Brush_Experimental" }); base.OnCreate(savedInstanceState); Instance = this; Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CachedImageRenderer.InitImageViewHandler(); LoadApplication(new App()); }