public Configuration() { Windows = new WindowsConfiguration(this); Android = new AndroidConfiguration(this); iOS = new iOSConfiguration(this); MacOS = new MacOSConfiguration(this); Web = new WebConfiguration(this); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); AndroidConfiguration androidConfiguration = new AndroidConfiguration(); androidConfiguration.copyElementDatabaseToLocalStorage(); Rg.Plugins.Popup.Popup.Init(this, savedInstanceState); Xamarin.Forms.Forms.Init(this, savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CrossCurrentActivity.Current.Init(this, savedInstanceState); LoadApplication(new App()); }