protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); CrossMediaManager.Current.Init(); CrossCurrentActivity.Current.Init(this, savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); SvgImage.Init(this); //need to write here LoadApplication(new App()); }
private void MyMethod() { Platform.Init(this); SvgImage.Init(this); //need to write here Popup.Init(this); CachedImageRenderer.Init(false); var config = new Configuration { VerboseLogging = true, VerbosePerformanceLogging = true, VerboseMemoryCacheLogging = true, VerboseLoadingCancelledLogging = true, Logger = new CustomLogger() }; ImageService.Instance.Initialize(config); PancakeViewRenderer.Init(); }