diff --git a/BottomSheetSample/BottomSheetSample.sln b/BottomSheetSample/BottomSheetSample.sln new file mode 100644 index 0000000..8feb9ae --- /dev/null +++ b/BottomSheetSample/BottomSheetSample.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35521.163 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomSheetSample", "BottomSheetSample\BottomSheetSample.csproj", "{38A3BF75-3F37-4DBD-ABD1-A530681C1499}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Debug|Any CPU.Build.0 = Debug|Any CPU + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Release|Any CPU.ActiveCfg = Release|Any CPU + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/BottomSheetSample/BottomSheetSample/App.xaml b/BottomSheetSample/BottomSheetSample/App.xaml new file mode 100644 index 0000000..8a6bc9b --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/BottomSheetSample/BottomSheetSample/App.xaml.cs b/BottomSheetSample/BottomSheetSample/App.xaml.cs new file mode 100644 index 0000000..184822e --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/App.xaml.cs @@ -0,0 +1,15 @@ +namespace BottomSheetSample +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + } + + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); + } + } +} \ No newline at end of file diff --git a/BottomSheetSample/BottomSheetSample/AppShell.xaml b/BottomSheetSample/BottomSheetSample/AppShell.xaml new file mode 100644 index 0000000..b5b01ea --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/BottomSheetSample/BottomSheetSample/AppShell.xaml.cs b/BottomSheetSample/BottomSheetSample/AppShell.xaml.cs new file mode 100644 index 0000000..49be9ed --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace BottomSheetSample +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj b/BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj new file mode 100644 index 0000000..bff5013 --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj @@ -0,0 +1,75 @@ + + + + net9.0-android;net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net9.0-windows10.0.19041.0 + + + + + + + Exe + BottomSheetSample + true + true + enable + enable + + + BottomSheetSample + + + com.companyname.bottomsheetsample + + + 1.0 + 1 + + + None + + 15.0 + 15.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MSBuild:Compile + + + + diff --git a/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml new file mode 100644 index 0000000..dd6e63a --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs new file mode 100644 index 0000000..e96bd3c --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs @@ -0,0 +1,14 @@ +using BottomSheetSample; + +namespace BottomSheet; + +public partial class FavoritesPage : ContentPage +{ + public List FavoriteBooks { get; set; } + public FavoritesPage() + { + InitializeComponent(); + FavoriteBooks = BookFavorites.FavoriteBooks; + BindingContext = this; + } +} \ No newline at end of file diff --git a/BottomSheetSample/BottomSheetSample/MainPage.xaml b/BottomSheetSample/BottomSheetSample/MainPage.xaml new file mode 100644 index 0000000..abd47a9 --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/MainPage.xaml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +