コード例 #1
0
 public Configuration()
 {
     Windows = new WindowsConfiguration(this);
     Android = new AndroidConfiguration(this);
     iOS     = new iOSConfiguration(this);
     MacOS   = new MacOSConfiguration(this);
     Web     = new WebConfiguration(this);
 }
コード例 #2
0
        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());
        }