public override void OnCreate() { base.OnCreate(); RegisterActivityLifecycleCallbacks(this); DIManager.InitializeContainer(); DependencyRegisterExtension.Register(DIManager.Builder); DIManager.BuildContainer(); //A great place to initialize Xamarin.Insights and Dependency Services! }
protected override void OnCreate(Bundle bundle) { //TabLayoutResource = Resource.Layout.Tabbar; //ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); DIManager.InitializeContainer(); DIManager.BuildContainer(); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }