public override void DidFinishLaunching(NSNotification notification) { Forms.Init(); AppBootstrap.Init(); LoadApplication(new App()); base.DidFinishLaunching(notification); }
// // 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(); AppBootstrap.Init(); Bootstrap.Init(); 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); AppBootstrap.Init(); Bootstrap.Init(this); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); MvvmAspire.Controls.UIHelper.Drawable = typeof(test.Droid.Resource.Drawable); MvvmAspire.Controls.UIHelper.Layout = typeof(Resource.Layout); MvvmAspire.Controls.UIHelper.Id = typeof(Resource.Id); MvvmAspire.Controls.UIHelper.Context = this; AppBootstrap.Init(); Bootstrap.Init(this); UserDialogs.Init(() => (Activity)this); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; AppHelper.FastCellCache = FastCellCache.Instance; base.OnCreate(bundle); MvvmAspire.Controls.UIHelper.Drawable = typeof(TestApp.Droid.Resource.Drawable); MvvmAspire.Controls.UIHelper.Layout = typeof(Resource.Layout); MvvmAspire.Controls.UIHelper.Id = typeof(Resource.Id); MvvmAspire.Controls.UIHelper.Context = this; global::Xamarin.Forms.Forms.Init(this, bundle); AppBootstrap.Init(); Bootstrap.Init(this); LoadApplication(new App()); }