|
|
@ -16,6 +16,7 @@ using XLabs.Forms.Services;
|
|
|
|
using XLabs.Ioc;
|
|
|
|
using XLabs.Ioc;
|
|
|
|
using XLabs.Platform.Mvvm;
|
|
|
|
using XLabs.Platform.Mvvm;
|
|
|
|
using XLabs.Platform.Services;
|
|
|
|
using XLabs.Platform.Services;
|
|
|
|
|
|
|
|
using XLabs.Settings;
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
Glyphish icons from
|
|
|
|
Glyphish icons from
|
|
|
@ -62,6 +63,7 @@ namespace BookAStar
|
|
|
|
app.Startup += (o, e) => Debug.WriteLine("Application Startup");
|
|
|
|
app.Startup += (o, e) => Debug.WriteLine("Application Startup");
|
|
|
|
app.Suspended += (o, e) => Debug.WriteLine("Application Suspended");
|
|
|
|
app.Suspended += (o, e) => Debug.WriteLine("Application Suspended");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static GenericConfigSettingsMgr ConfigManager { protected set; get; }
|
|
|
|
|
|
|
|
|
|
|
|
private void Configure(IXFormsApp app)
|
|
|
|
private void Configure(IXFormsApp app)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -72,6 +74,9 @@ namespace BookAStar
|
|
|
|
ViewFactory.Register<BookQueriesPage, BookQueriesViewModel>();
|
|
|
|
ViewFactory.Register<BookQueriesPage, BookQueriesViewModel>();
|
|
|
|
ViewFactory.Register<EditBillingLinePage, BillingLineViewModel>();
|
|
|
|
ViewFactory.Register<EditBillingLinePage, BillingLineViewModel>();
|
|
|
|
ViewFactory.Register<EditEstimatePage, EstimateViewModel>();
|
|
|
|
ViewFactory.Register<EditEstimatePage, EstimateViewModel>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConfigManager = new XLabs.Settings.GenericConfigSettingsMgr(s =>
|
|
|
|
|
|
|
|
Settings.AppSettings.GetValueOrDefault<string>(s, Settings.SettingsDefault), null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ExtendedMasterDetailPage masterDetail;
|
|
|
|
ExtendedMasterDetailPage masterDetail;
|
|
|
@ -86,6 +91,7 @@ namespace BookAStar
|
|
|
|
NavigationPage.SetHasNavigationBar(MainPage, false);
|
|
|
|
NavigationPage.SetHasNavigationBar(MainPage, false);
|
|
|
|
NavigationPage.SetHasBackButton(MainPage, false);
|
|
|
|
NavigationPage.SetHasBackButton(MainPage, false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BookQueriesPage bQueriesPage;
|
|
|
|
BookQueriesPage bQueriesPage;
|
|
|
|
AccountChooserPage accChooserPage;
|
|
|
|
AccountChooserPage accChooserPage;
|
|
|
|
HomePage home;
|
|
|
|
HomePage home;
|
|
|
|