diff --git a/Borepin/Borepin/App.xaml.cs b/Borepin/Borepin/App.xaml.cs index 4e3cb66..acd86d9 100644 --- a/Borepin/Borepin/App.xaml.cs +++ b/Borepin/Borepin/App.xaml.cs @@ -5,6 +5,8 @@ using Borepin.Page; using Xamarin.Forms; using Borepin.Service; using Borepin.Service.ServerInstances; +using Borepin.View; +using Borepin.ViewModel; namespace Borepin { @@ -19,7 +21,8 @@ namespace Borepin { InitializeComponent(); - var result = await NavigationService.NavigateAsync("/NavigationPage/HostSelectPage"); + //var result = await NavigationService.NavigateAsync("/NavigationPage/HostSelectPage"); + var result = await NavigationService.NavigateAsync("/ListPage"); if (!result.Success) { @@ -37,7 +40,10 @@ namespace Borepin containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); + containerRegistry.RegisterForNavigation(); + + containerRegistry.RegisterForNavigation(); + BFFHInstanceService bffhInstanceService = new BFFHInstanceService(); diff --git a/Borepin/Borepin/Borepin.csproj b/Borepin/Borepin/Borepin.csproj index 7673c6f..53338fd 100644 --- a/Borepin/Borepin/Borepin.csproj +++ b/Borepin/Borepin/Borepin.csproj @@ -31,6 +31,9 @@ MachinesPage.xaml + + BFFHInstancesPage.xaml + SettingsPage.xaml @@ -47,11 +50,17 @@ LightTheme.xaml + + BFFHInstanceEntryView.xaml + MSBuild:UpdateDesignTimeXaml + + MSBuild:UpdateDesignTimeXaml + MSBuild:UpdateDesignTimeXaml @@ -67,7 +76,7 @@ MSBuild:UpdateDesignTimeXaml - + MSBuild:UpdateDesignTimeXaml @@ -84,7 +93,10 @@ MSBuild:UpdateDesignTimeXaml - + + MSBuild:UpdateDesignTimeXaml + + MSBuild:UpdateDesignTimeXaml diff --git a/Borepin/Borepin/Model/ListItem.cs b/Borepin/Borepin/Model/ListItem.cs new file mode 100644 index 0000000..6410fc8 --- /dev/null +++ b/Borepin/Borepin/Model/ListItem.cs @@ -0,0 +1,7 @@ +namespace Borepin.Model +{ + public class ListItem + { + public string Value1 { get; set; } + } +} diff --git a/Borepin/Borepin/Page/BFFHInstancesPage.xaml b/Borepin/Borepin/Page/BFFHInstancesPage.xaml new file mode 100644 index 0000000..aaa97e1 --- /dev/null +++ b/Borepin/Borepin/Page/BFFHInstancesPage.xaml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Borepin/Borepin/Page/ServerInstancesPage.xaml.cs b/Borepin/Borepin/Page/BFFHInstancesPage.xaml.cs similarity index 76% rename from Borepin/Borepin/Page/ServerInstancesPage.xaml.cs rename to Borepin/Borepin/Page/BFFHInstancesPage.xaml.cs index 04df04e..00533dc 100644 --- a/Borepin/Borepin/Page/ServerInstancesPage.xaml.cs +++ b/Borepin/Borepin/Page/BFFHInstancesPage.xaml.cs @@ -10,9 +10,9 @@ using Xamarin.Forms.Xaml; namespace Borepin.Page { [XamlCompilation(XamlCompilationOptions.Compile)] - public partial class ServerInstancesPage : ContentPage + public partial class BFFHInstancesPage : ContentPage { - public ServerInstancesPage() + public BFFHInstancesPage() { InitializeComponent(); } diff --git a/Borepin/Borepin/Page/ListPage.xaml b/Borepin/Borepin/Page/ListPage.xaml new file mode 100644 index 0000000..b649e6b --- /dev/null +++ b/Borepin/Borepin/Page/ListPage.xaml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Borepin/Borepin/Page/ListPage.xaml.cs b/Borepin/Borepin/Page/ListPage.xaml.cs new file mode 100644 index 0000000..cadb3dc --- /dev/null +++ b/Borepin/Borepin/Page/ListPage.xaml.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using Xamarin.Forms; +using Xamarin.Forms.Xaml; + +namespace Borepin.Page +{ + [XamlCompilation(XamlCompilationOptions.Compile)] + public partial class ListPage : ContentPage + { + public ListPage() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/Borepin/Borepin/Page/MainPage.xaml b/Borepin/Borepin/Page/MainPage.xaml index 48d67aa..84ae416 100644 --- a/Borepin/Borepin/Page/MainPage.xaml +++ b/Borepin/Borepin/Page/MainPage.xaml @@ -9,7 +9,7 @@