protected override void OnCreate(Bundle savedInstanceState) { this.EnableCoordinatorLayout = true; base.OnCreate(savedInstanceState); Forms.Init(this, savedInstanceState); FormsAppCompat.Init(); this.LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { AppDomain.CurrentDomain.UnhandledException += (sender, e) => { System.Diagnostics.Debug.WriteLine(e.ExceptionObject); }; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); FormsAppCompat.EnableAll(); if (UserDialogs.Instance == null) { UserDialogs.Init(() => this); } LoadApplication(new App()); }