diff --git a/LOLAPP/LOLAPP/AppShell.xaml b/LOLAPP/LOLAPP/AppShell.xaml index 0cd8fa1..17ee620 100644 --- a/LOLAPP/LOLAPP/AppShell.xaml +++ b/LOLAPP/LOLAPP/AppShell.xaml @@ -4,11 +4,12 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:LOLAPP" + xmlns:view="clr-namespace:LOLAPP.View" Shell.FlyoutBehavior="Disabled"> - - + - + diff --git a/LOLAPP/LOLAPP/LOLAPP.csproj b/LOLAPP/LOLAPP/LOLAPP.csproj index 18a6d92..24af873 100644 --- a/LOLAPP/LOLAPP/LOLAPP.csproj +++ b/LOLAPP/LOLAPP/LOLAPP.csproj @@ -52,4 +52,16 @@ + + + MSBuild:Compile + + + MSBuild:Compile + + + MSBuild:Compile + + + diff --git a/LOLAPP/LOLAPP/MainPage.xaml b/LOLAPP/LOLAPP/MainPage.xaml deleted file mode 100644 index f6e9d70..0000000 --- a/LOLAPP/LOLAPP/MainPage.xaml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/LOLAPP/LOLAPP/MainPage.xaml.cs b/LOLAPP/LOLAPP/MainPage.xaml.cs deleted file mode 100644 index 559bb4d..0000000 --- a/LOLAPP/LOLAPP/MainPage.xaml.cs +++ /dev/null @@ -1,16 +0,0 @@ -using LOLAPP.Modele; - -namespace LOLAPP; - -public partial class MainPage : ContentPage -{ - int count = 0; - public Manager Cmanager => (App.Current as App).ChampionManager; - - public MainPage() - { - InitializeComponent(); - BindingContext = Cmanager; - champ.BindingContext = Cmanager._champions; - } -} \ No newline at end of file diff --git a/LOLAPP/LOLAPP/View/Main.xaml b/LOLAPP/LOLAPP/View/Main.xaml new file mode 100644 index 0000000..7e880bc --- /dev/null +++ b/LOLAPP/LOLAPP/View/Main.xaml @@ -0,0 +1,31 @@ + + + + + + + + + +