protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true); Rg.Plugins.Popup.Popup.Init(this, bundle); Xamarin.Essentials.Platform.Init(this, bundle); var config = new FFImageLoading.Config.Configuration { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.Init(this, bundle); CarouselViewRenderer.Init(); SharpnadoInitializer.Initialize(); LoadApplication(new TestApp.App()); }
protected override async void OnLaunched(LaunchActivatedEventArgs e) { if (!(Window.Current.Content is Frame rootFrame)) { rootFrame = new Frame(); rootFrame.NavigationFailed += OnNavigationFailed; //FFImageLoading FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, }; FFImageLoading.ImageService.Instance.Initialize(config); var assembliesToInclude = new List <Assembly> { typeof(FFImageLoading.Forms.CachedImage).GetTypeInfo().Assembly, typeof(FFImageLoading.Forms.Platform.CachedImageRenderer).GetTypeInfo().Assembly, typeof(ArtGalleryCRM.Forms.Common.CustomThemeStyles).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.ConversationalUI.RadChat).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.ConversationalUIRenderer.UWP.ChatListViewRenderer).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.ConversationalUIRenderer.UWP.CardActionViewRenderer).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.Input.RadButton).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.InputRenderer.UWP.ButtonRenderer).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.Primitives.RadBorder).GetTypeInfo().Assembly, typeof(Telerik.XamarinForms.PrimitivesRenderer.UWP.BorderRenderer).GetTypeInfo().Assembly, }; // Ensure FFImageLoading isn't optimized out by .NET Native toolchain Xamarin.Forms.Forms.Init(e, assembliesToInclude); if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) { //TODO: Load state from previously suspended application } Window.Current.Content = rootFrame; } if (e.PrelaunchActivated == false) { if (rootFrame.Content == null) { rootFrame.Navigate(typeof(MainPage), e.Arguments); } Window.Current.Activate(); } if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar")) { await StatusBar.GetForCurrentView().HideAsync(); } }
// // 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(); Xamarin.FormsMaps.Init(); var multiMediaPickerService = new MultiMediaPickerService(); CachedImageRenderer.Init(); CachedImageRenderer.InitImageSourceHandler(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, //Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); LoadApplication(new App(multiMediaPickerService)); 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) { CachedImageRenderer.Init(); var dummy = new CachedImageRenderer(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = true, VerbosePerformanceLogging = true, VerboseMemoryCacheLogging = true, VerboseLoadingCancelledLogging = true, Logger = new ImageLogger(), }; ImageService.Instance.Initialize(config); Corcav.Behaviors.Infrastructure.Init(); RegisterDependencies(); global::Xamarin.Forms.Forms.Init(); CarouselViewRenderer.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; var ignore = typeof(SvgCachedImage); ImageService.Instance.Initialize(config); LoadApplication(new App()); var manager = BITHockeyManager.SharedHockeyManager; manager.LogLevel = BITLogLevel.Debug; manager.Configure(Constants.HockeyiOSAPPKey); manager.CrashManager.CrashManagerStatus = BITCrashManagerStatus.AutoSend; manager.StartManager(); manager.Authenticator.AuthenticateInstallation(); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CachedImageRenderer.Init(true); CachedImageRenderer.InitImageViewHandler(); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; App.ScreenHeight = (int)(Resources.DisplayMetrics.HeightPixels / Resources.DisplayMetrics.Density); App.ScreenWidth = (int)(Resources.DisplayMetrics.WidthPixels / Resources.DisplayMetrics.Density); base.OnCreate(savedInstanceState); Rg.Plugins.Popup.Popup.Init(this, savedInstanceState); Plugin.InputKit.Platforms.Droid.Config.Init(this, savedInstanceState); UserDialogs.Init(this); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true); var ignore = typeof(FFImageLoading.Svg.Forms.SvgCachedImage); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false }; FFImageLoading.ImageService.Instance.Initialize(config); }
// // 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) { UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false); UIApplication.SharedApplication.SetStatusBarHidden(false, false); //Thread.CurrentThread.CurrentCulture = new CultureInfo("pt-BR"); //Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture; Forms.Init(); //CurrentPlatform.Init(); CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false }; ImageService.Instance.Initialize(config); //ImageService.Instance.Initialize(); //Insights.Initialize(""); CurrentApp = new App(); LoadApplication(CurrentApp); 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(); ZXing.Net.Mobile.Forms.iOS.Platform.Init(); CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; var ignore = typeof(SvgCachedImage); ImageService.Instance.Initialize(config); 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); //HttpClientManager.Instance.ConnectionUtils = new ConnectionUtils(); // Add FFLoadingImage Forms.SetFlags("FastRenderers_Experimental"); CachedImageRenderer.Init(true); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false }; ImageService.Instance.Initialize(config); Rg.Plugins.Popup.Popup.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); UserDialogs.Init(this); CrossCurrentActivity.Current.Init(this, savedInstanceState); Xamarin.FormsGoogleMaps.Init(this, savedInstanceState); Syncfusion.XForms.Android.PopupLayout.SfPopupLayoutRenderer.Init(); LoadApplication(new App()); FirebasePushNotificationManager.ProcessIntent(this, Intent); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, //Logger = new CustomLogger(), }; //ImageService.Instance.Initialize(config); LoadApplication(new App()); UIBarButtonItem.Appearance.SetBackButtonTitlePositionAdjustment(new UIOffset(-100, -60), UIBarMetrics.Default); //UINavigationBar.Appearance.BarTintColor = UIColor.FromPatternImage(UIImage.FromFile("background_header.jpg")); //this.NavigationController.NavigationBar.SetBackgroundImage(UIImage.FromFile("Images/background_header.jpg"), UIBarMetrics.Default); //this.NavigationController.NavigationBar.TintColor = UIColor.White; //this.NavigationController.NavigationBar.TitleTextAttributes = new UIStringAttributes() //{ // ForegroundColor = UIColor.White, // Font = UIFont.FromName("OpenSans-Semibold", 15f) //}; IconEntryRenderer.Init(); //FormsPlugin.Iconize.iOS.IconControls.Init(); //Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.FontAwesomeModule()); 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) { #if ENABLE_TEST_CLOUD Xamarin.Calabash.Start(); #endif CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.Init(); LoadApplication(new App(new iOSInitializer())); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); SupportWidgetXFSetup.Initialize(this, bundle); CachedImageRenderer.Init(true); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); Xamarin.Forms.Forms.SetFlags("FastRenderers_Experimental"); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental"); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CarouselViewRenderer.Init(); LoadApplication(new App()); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { var config = new FFImageLoading.Config.Configuration(); config.VerboseMemoryCacheLogging = false; config.AllowUpscale = false; config.AnimateGifs = false; //config.VerboseLogging = true; //config.VerbosePerformanceLogging = true; FFImageLoading.ImageService.Instance.Initialize(config); FFImageLoading.Forms.Touch.CachedImageRenderer.Init(); Xamarin.Forms.Forms.Init(); App.Init(new CameraPageHelperIOS(), new Model.FileHelperIOS(), new StyleHelperIOS(), new Model.FacebookApiClientIOS(), new Model.PDFHelperIOS(), new Model.EMailHelperIOS(), new Model.TestHelperIOS()); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; AppCenter.Start("1c653577-b657-45f2-a67e-52381bc1c294", typeof(Analytics), typeof(Crashes)); base.SetTheme(Resource.Style.MainTheme); base.OnCreate(savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CachedImageRenderer.Init(enableFastRenderer: true); CachedImageRenderer.InitImageViewHandler(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = true, VerbosePerformanceLogging = true, VerboseMemoryCacheLogging = true, VerboseLoadingCancelledLogging = true, ExecuteCallbacksOnUIThread = true, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); UserDialogs.Init(this); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); Plugin.CurrentActivity.CrossCurrentActivity.Current.Activity = this; CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); // Initilize ACR User Dialogs UserDialogs.Init(this); }
// // 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) { CachedImageRenderer.Init(); CachedImageRenderer.InitImageSourceHandler(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, FadeAnimationEnabled = true, FadeAnimationForCachedImages = false, FadeAnimationDuration = 250 }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.Init(); CardsViewRenderer.Preserve(); LoadApplication(new App()); 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(); //UIApplication.CheckForIllegalCrossThreadCalls = false; // Add FFLoadingImage CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); FloatingActionButtonRenderer.InitRenderer(); new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer(); new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer(); new SfNumericTextBoxRenderer(); Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init(); SfTextInputLayoutRenderer.Init(); SfButtonRenderer.Init(); Rg.Plugins.Popup.Popup.Init(); Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init(); Xamarin.FormsGoogleMaps.Init(EnvironmentConf.GoogleMapsApiKey); LoadApplication(new App()); SfRadioButtonRenderer.Init(); SfRadialMenuRenderer.Init(); Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init(); CrossFirebasePushNotification.Current.Subscribe("Products"); FirebasePushNotificationManager.Initialize(options, true); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true; this.Window.AddFlags(WindowManagerFlags.Fullscreen); TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; CrossCurrentActivity.Current.Init(this, savedInstanceState); base.OnCreate(savedInstanceState); Rg.Plugins.Popup.Popup.Init(this, savedInstanceState); CachedImageRenderer.Init(enableFastRenderer: true); App.ScreenHeight = (int)(Resources.DisplayMetrics.HeightPixels / Resources.DisplayMetrics.Density); App.ScreenWidth = (int)(Resources.DisplayMetrics.WidthPixels / Resources.DisplayMetrics.Density); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false }; global::Xamarin.Forms.Forms.Init(this, savedInstanceState); global::Android.Webkit.WebView.SetWebContentsDebuggingEnabled(true); AppCenter.Start("6f839c85-8c8a-4e6a-89ac-d4b82b3d49b1", typeof(Analytics), typeof(Crashes)); AppCenter.Start("6f839c85-8c8a-4e6a-89ac-d4b82b3d49b1", typeof(Analytics), typeof(Crashes)); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); // add this line to your code Forms.SetFlags("FastRenderers_Experimental"); LocalNotificationsImplementation.NotificationIconId = Resource.Drawable.logo50; // Android.Gms.Ads.MobileAds.Initialize(ApplicationContext, Mobile.Helpers.AppConstants.AppId); //set this before calling things that is in the pcl global::Xamarin.Forms.Forms.Init(this, savedInstanceState); MobileAds.Initialize(ApplicationContext, AppConstants.AppId); Push.PushNotificationReceived += Push_PushNotificationReceived; CrossCurrentActivity.Current.Activity = this; CrossCurrentActivity.Current.Init(this, savedInstanceState); CachedImageRenderer.Init(true); FFImageLoading.Config.Configuration config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, }; ImageService.Instance.Initialize(config); //FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer: true); CreateNotificationChannel(); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); PlatformStuff.GetContext = () => this; ToastService.GetContext = () => this; AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException; TaskScheduler.UnobservedTaskException += TaskSchedulerOnUnobservedTaskException; AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironmentOnUnhandledException; global::Xamarin.Forms.Forms.Init(this, bundle); //CrossCurrentActivity.Current.Init(this, bundle); //Context context = this.ApplicationContext; FFImageLoading.Forms.Platform.CachedImageRenderer.Init(false); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); LoadApplication(new App()); }
protected override void OnLaunched(LaunchActivatedEventArgs e) { #if DEBUG if (System.Diagnostics.Debugger.IsAttached) { this.DebugSettings.EnableFrameRateCounter = true; } #endif var config = new FFImageLoading.Config.Configuration { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, }; FFImageLoading.ImageService.Instance.Initialize(config); var assembliesToInclude = new List <Assembly> { typeof(CachedImage).GetTypeInfo().Assembly, typeof(FFImageLoading.Forms.Platform.CachedImageRenderer).GetTypeInfo().Assembly }; Xamarin.Forms.Forms.Init(e, assembliesToInclude); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); //AppCenter.Start("", typeof(Analytics)); base.OnLaunched(e); }
protected override void OnCreate(Bundle bundle) { AppCenter.Start("752570ef-ccd6-4e28-84fb-54a71f82c7ac", typeof(Analytics), typeof(Crashes)); InitIoC(); TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); CachedImageRenderer.Init(true); var ignore = typeof(SvgCachedImage); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); 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) { // Initializations global::Xamarin.Forms.Forms.Init(); new SfCarouselRenderer(); CachedImageRenderer.Init(); // FFImageLoader // CarouselViewRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; FFImageLoading.ImageService.Instance.Initialize(config); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); #region FFImageLoading Libraries CachedImageRenderer.Init(true); var ignore = typeof(SvgCachedImage); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger() }; #endregion LoadApplication(new App()); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { AppCenter.Start("e2b72caf-65e8-4355-ba1d-88fe9ad7ea12", typeof(Analytics), typeof(Crashes)); InitIoC(); global::Xamarin.Forms.Forms.Init(); CachedImageRenderer.Init(); var ignore = typeof(SvgCachedImage); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); LoadApplication(new App()); 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(); Xamarin.Forms.DependencyService.Register <DependencyServices.FileStore>(); CachedImageRenderer.Init(); CachedImageRenderer.InitImageSourceHandler(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; //Essa seria outra opcao a considerar //var platformConfig = new PlatformConfig //{ // ImageFactory = new CachingImageFactory() //}; ImageService.Instance.Initialize(config); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { // set the layout resources first FormsAppCompatActivity.ToolbarResource = Resource.Layout.toolbar; FormsAppCompatActivity.TabLayoutResource = Resource.Layout.tabs; base.OnCreate(bundle); Xamarin.Forms.Forms.SetFlags("FastRenderers_Experimental"); CachedImageRenderer.Init(true); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.Init(this, bundle); 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); Corcav.Behaviors.Infrastructure.Init(); CachedImageRenderer.Init(); var dummy = new CachedImageRenderer(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = true, VerbosePerformanceLogging = true, VerboseMemoryCacheLogging = true, VerboseLoadingCancelledLogging = true, Logger = new ImageLogger(), }; InitializePackages(); RegisterDependencies(); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); FFImageLoading.Forms.Droid.CachedImageRenderer.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { FFImageLoading.Forms.Touch.CachedImageRenderer.Init(); global::Xamarin.Forms.Forms.Init(); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false, Logger = new CustomLogger(), }; ImageService.Instance.Initialize(config); LoadApplication(new App()); return base.FinishedLaunching(app, options); }