protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); string dbPath = FileAccessHelper.GetLocalFilePath("people.db3"); LoadApplication(new App(dbPath)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App(FileAccessHelper.GetLocalFilePath("people.db3"))); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Xamarin.Forms.Forms.Init(this, bundle); string dbPath = FileAccessHelper.GetLocalFilePath("people.db3"); SetPage(App.GetMainPage(dbPath)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); string dbPath = FileAccessHelper.GetLocalFilePath("people.db3"); LoadApplication(new App(dbPath)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); // get file path and pass it to App class string displayText = FileAccessHelper.GetLocalFilePath("people.db3"); LoadApplication(new App(displayText)); }