From 086cb833f6b7dfc74f52e8eecb122a54903c4041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20=C3=96man?= Date: Mon, 22 Apr 2024 16:48:36 +0200 Subject: [PATCH] Add project files. --- MonkeyFinder.sln | 34 ++++ MonkeyFinder/App.xaml | 69 ++++++++ MonkeyFinder/App.xaml.cs | 11 ++ MonkeyFinder/AppShell.xaml | 35 ++++ MonkeyFinder/AppShell.xaml.cs | 12 ++ MonkeyFinder/GlobalUsings.cs | 9 + MonkeyFinder/MauiProgram.cs | 40 +++++ MonkeyFinder/Model/Monkey.cs | 14 ++ MonkeyFinder/MonkeyContext.cs | 15 ++ MonkeyFinder/MonkeyFinder.csproj | 49 ++++++ .../Platforms/Android/AndroidManifest.xml | 6 + .../Platforms/Android/AssemblyInfo.cs | 9 + .../Platforms/Android/MainActivity.cs | 10 ++ .../Platforms/Android/MainApplication.cs | 15 ++ .../Android/Resources/values/colors.xml | 6 + .../Platforms/MacCatalyst/AppDelegate.cs | 9 + .../MacCatalyst/Entitlements.Debug.plist | 11 ++ .../MacCatalyst/Entitlements.Release.plist | 12 ++ MonkeyFinder/Platforms/MacCatalyst/Info.plist | 32 ++++ MonkeyFinder/Platforms/MacCatalyst/Program.cs | 15 ++ MonkeyFinder/Platforms/Windows/App.xaml | 8 + MonkeyFinder/Platforms/Windows/App.xaml.cs | 24 +++ .../Platforms/Windows/Package.appxmanifest | 48 ++++++ MonkeyFinder/Platforms/Windows/app.manifest | 15 ++ MonkeyFinder/Platforms/iOS/AppDelegate.cs | 9 + MonkeyFinder/Platforms/iOS/Info.plist | 33 ++++ MonkeyFinder/Platforms/iOS/Program.cs | 15 ++ MonkeyFinder/Properties/launchSettings.json | 8 + MonkeyFinder/Resources/AppIcon/appicon.svg | 4 + MonkeyFinder/Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 106100 bytes MonkeyFinder/Resources/Images/dotnet_bot.svg | 93 +++++++++++ MonkeyFinder/Resources/Images/nodata.png | Bin 0 -> 18301 bytes MonkeyFinder/Resources/Raw/AboutAssets.txt | 14 ++ MonkeyFinder/Resources/Raw/monkeydata.json | 119 +++++++++++++ MonkeyFinder/Resources/Splash/splash.svg | 8 + MonkeyFinder/Services/MonkeyService.cs | 32 ++++ MonkeyFinder/View/DetailsPage.xaml | 52 ++++++ MonkeyFinder/View/DetailsPage.xaml.cs | 15 ++ MonkeyFinder/View/MainPage.xaml | 72 ++++++++ MonkeyFinder/View/MainPage.xaml.cs | 11 ++ MonkeyFinder/ViewModel/BaseViewModel.cs | 21 +++ .../ViewModel/MonkeyDetailsViewModel.cs | 43 +++++ MonkeyFinder/ViewModel/MonkeysViewModel.cs | 108 ++++++++++++ README.md | 157 ++++++++++++++++++ 45 files changed, 1330 insertions(+) create mode 100644 MonkeyFinder.sln create mode 100644 MonkeyFinder/App.xaml create mode 100644 MonkeyFinder/App.xaml.cs create mode 100644 MonkeyFinder/AppShell.xaml create mode 100644 MonkeyFinder/AppShell.xaml.cs create mode 100644 MonkeyFinder/GlobalUsings.cs create mode 100644 MonkeyFinder/MauiProgram.cs create mode 100644 MonkeyFinder/Model/Monkey.cs create mode 100644 MonkeyFinder/MonkeyContext.cs create mode 100644 MonkeyFinder/MonkeyFinder.csproj create mode 100644 MonkeyFinder/Platforms/Android/AndroidManifest.xml create mode 100644 MonkeyFinder/Platforms/Android/AssemblyInfo.cs create mode 100644 MonkeyFinder/Platforms/Android/MainActivity.cs create mode 100644 MonkeyFinder/Platforms/Android/MainApplication.cs create mode 100644 MonkeyFinder/Platforms/Android/Resources/values/colors.xml create mode 100644 MonkeyFinder/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 MonkeyFinder/Platforms/MacCatalyst/Entitlements.Debug.plist create mode 100644 MonkeyFinder/Platforms/MacCatalyst/Entitlements.Release.plist create mode 100644 MonkeyFinder/Platforms/MacCatalyst/Info.plist create mode 100644 MonkeyFinder/Platforms/MacCatalyst/Program.cs create mode 100644 MonkeyFinder/Platforms/Windows/App.xaml create mode 100644 MonkeyFinder/Platforms/Windows/App.xaml.cs create mode 100644 MonkeyFinder/Platforms/Windows/Package.appxmanifest create mode 100644 MonkeyFinder/Platforms/Windows/app.manifest create mode 100644 MonkeyFinder/Platforms/iOS/AppDelegate.cs create mode 100644 MonkeyFinder/Platforms/iOS/Info.plist create mode 100644 MonkeyFinder/Platforms/iOS/Program.cs create mode 100644 MonkeyFinder/Properties/launchSettings.json create mode 100644 MonkeyFinder/Resources/AppIcon/appicon.svg create mode 100644 MonkeyFinder/Resources/AppIcon/appiconfg.svg create mode 100644 MonkeyFinder/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 MonkeyFinder/Resources/Images/dotnet_bot.svg create mode 100644 MonkeyFinder/Resources/Images/nodata.png create mode 100644 MonkeyFinder/Resources/Raw/AboutAssets.txt create mode 100644 MonkeyFinder/Resources/Raw/monkeydata.json create mode 100644 MonkeyFinder/Resources/Splash/splash.svg create mode 100644 MonkeyFinder/Services/MonkeyService.cs create mode 100644 MonkeyFinder/View/DetailsPage.xaml create mode 100644 MonkeyFinder/View/DetailsPage.xaml.cs create mode 100644 MonkeyFinder/View/MainPage.xaml create mode 100644 MonkeyFinder/View/MainPage.xaml.cs create mode 100644 MonkeyFinder/ViewModel/BaseViewModel.cs create mode 100644 MonkeyFinder/ViewModel/MonkeyDetailsViewModel.cs create mode 100644 MonkeyFinder/ViewModel/MonkeysViewModel.cs create mode 100644 README.md diff --git a/MonkeyFinder.sln b/MonkeyFinder.sln new file mode 100644 index 0000000..b99e83b --- /dev/null +++ b/MonkeyFinder.sln @@ -0,0 +1,34 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31611.283 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonkeyFinder", "MonkeyFinder\MonkeyFinder.csproj", "{C60F2B1C-790E-4432-A719-52182A333ADE}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{393B8F30-F402-46A9-B209-8C71897A3416}" + ProjectSection(SolutionItems) = preProject + ..\Directory.build.props = ..\Directory.build.props + ..\Directory.build.targets = ..\Directory.build.targets + README.md = README.md + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C60F2B1C-790E-4432-A719-52182A333ADE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C60F2B1C-790E-4432-A719-52182A333ADE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C60F2B1C-790E-4432-A719-52182A333ADE}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {C60F2B1C-790E-4432-A719-52182A333ADE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C60F2B1C-790E-4432-A719-52182A333ADE}.Release|Any CPU.Build.0 = Release|Any CPU + {C60F2B1C-790E-4432-A719-52182A333ADE}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} + EndGlobalSection +EndGlobal diff --git a/MonkeyFinder/App.xaml b/MonkeyFinder/App.xaml new file mode 100644 index 0000000..09c403e --- /dev/null +++ b/MonkeyFinder/App.xaml @@ -0,0 +1,69 @@ + + + + + #FFC107 + #FFA000 + #00BCD4 + + #FAF9F8 + Black + + + + + + + + + + + + + + + + + + + + + + diff --git a/MonkeyFinder/App.xaml.cs b/MonkeyFinder/App.xaml.cs new file mode 100644 index 0000000..09d633f --- /dev/null +++ b/MonkeyFinder/App.xaml.cs @@ -0,0 +1,11 @@ +namespace MonkeyFinder; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } +} diff --git a/MonkeyFinder/AppShell.xaml b/MonkeyFinder/AppShell.xaml new file mode 100644 index 0000000..1a5b5ec --- /dev/null +++ b/MonkeyFinder/AppShell.xaml @@ -0,0 +1,35 @@ + + + + + + + + +