Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize samples #782

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions Uno/ReactiveUI.UnoRouting/ReactiveUI.UnoRouting.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34309.116
MinimumVisualStudioVersion = 10.0.40219.1
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ReactiveUI.UnoRouting.Shared", "ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.shproj", "{6279C845-92F8-4333-AB99-3D213163593C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReactiveUI.UnoRouting.Mobile", "ReactiveUI.UnoRouting.Mobile\ReactiveUI.UnoRouting.Mobile.csproj", "{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReactiveUI.UnoRouting.Skia.Gtk", "ReactiveUI.UnoRouting.Skia.Gtk\ReactiveUI.UnoRouting.Skia.Gtk.csproj", "{D1EB091B-F4AD-427D-9765-738E4A04EE9C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReactiveUI.UnoRouting.Skia.Wpf", "ReactiveUI.UnoRouting.Skia.Wpf\ReactiveUI.UnoRouting.Skia.Wpf.csproj", "{93928725-E603-4432-A322-DCF28FED7EF3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReactiveUI.UnoRouting.Wasm", "ReactiveUI.UnoRouting.Wasm\ReactiveUI.UnoRouting.Wasm.csproj", "{306D1EB0-C618-454A-BCB1-FE1285169A25}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReactiveUI.UnoRouting.Windows", "ReactiveUI.UnoRouting.Windows\ReactiveUI.UnoRouting.Windows.csproj", "{4608D3F4-DC92-4358-9BBB-5C484EED667C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|arm64 = Debug|arm64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|arm64 = Release|arm64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|arm64.ActiveCfg = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|arm64.Build.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|arm64.Deploy.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|x64.ActiveCfg = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|x64.Build.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|x64.Deploy.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|x86.ActiveCfg = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|x86.Build.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Debug|x86.Deploy.0 = Debug|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|Any CPU.Build.0 = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|arm64.ActiveCfg = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|arm64.Build.0 = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|arm64.Deploy.0 = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|x64.ActiveCfg = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|x64.Build.0 = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|x64.Deploy.0 = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|x86.ActiveCfg = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|x86.Build.0 = Release|Any CPU
{9C331E84-B5DB-4EE5-A7B2-B547D98923F6}.Release|x86.Deploy.0 = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|arm64.ActiveCfg = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|arm64.Build.0 = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|x64.ActiveCfg = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|x64.Build.0 = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|x86.ActiveCfg = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Debug|x86.Build.0 = Debug|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|Any CPU.Build.0 = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|arm64.ActiveCfg = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|arm64.Build.0 = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|x64.ActiveCfg = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|x64.Build.0 = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|x86.ActiveCfg = Release|Any CPU
{D1EB091B-F4AD-427D-9765-738E4A04EE9C}.Release|x86.Build.0 = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|arm64.ActiveCfg = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|arm64.Build.0 = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|x64.ActiveCfg = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|x64.Build.0 = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|x86.ActiveCfg = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Debug|x86.Build.0 = Debug|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|Any CPU.Build.0 = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|arm64.ActiveCfg = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|arm64.Build.0 = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|x64.ActiveCfg = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|x64.Build.0 = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|x86.ActiveCfg = Release|Any CPU
{93928725-E603-4432-A322-DCF28FED7EF3}.Release|x86.Build.0 = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|Any CPU.Build.0 = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|arm64.ActiveCfg = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|arm64.Build.0 = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|x64.ActiveCfg = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|x64.Build.0 = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|x86.ActiveCfg = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Debug|x86.Build.0 = Debug|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|Any CPU.ActiveCfg = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|Any CPU.Build.0 = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|arm64.ActiveCfg = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|arm64.Build.0 = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|x64.ActiveCfg = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|x64.Build.0 = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|x86.ActiveCfg = Release|Any CPU
{306D1EB0-C618-454A-BCB1-FE1285169A25}.Release|x86.Build.0 = Release|Any CPU
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|Any CPU.ActiveCfg = Debug|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|Any CPU.Build.0 = Debug|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|Any CPU.Deploy.0 = Debug|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|arm64.ActiveCfg = Debug|arm64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|arm64.Build.0 = Debug|arm64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|arm64.Deploy.0 = Debug|arm64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|x64.ActiveCfg = Debug|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|x64.Build.0 = Debug|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|x64.Deploy.0 = Debug|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|x86.ActiveCfg = Debug|x86
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|x86.Build.0 = Debug|x86
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Debug|x86.Deploy.0 = Debug|x86
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|Any CPU.ActiveCfg = Release|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|Any CPU.Build.0 = Release|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|Any CPU.Deploy.0 = Release|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|arm64.ActiveCfg = Release|arm64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|arm64.Build.0 = Release|arm64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|arm64.Deploy.0 = Release|arm64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|x64.ActiveCfg = Release|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|x64.Build.0 = Release|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|x64.Deploy.0 = Release|x64
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|x86.ActiveCfg = Release|x86
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|x86.Build.0 = Release|x86
{4608D3F4-DC92-4358-9BBB-5C484EED667C}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AA61B1D2-CA88-48AA-BFC4-1911D881516B}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.projitems*{306d1eb0-c618-454a-bcb1-fe1285169a25}*SharedItemsImports = 5
ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.projitems*{4608d3f4-dc92-4358-9bbb-5c484eed667c}*SharedItemsImports = 5
ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.projitems*{6279c845-92f8-4333-ab99-3d213163593c}*SharedItemsImports = 13
ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.projitems*{93928725-e603-4432-a322-dcf28fed7ef3}*SharedItemsImports = 5
ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.projitems*{9c331e84-b5db-4ee5-a7b2-b547d98923f6}*SharedItemsImports = 5
ReactiveUI.UnoRouting.Shared\ReactiveUI.UnoRouting.Shared.projitems*{d1eb091b-f4ad-427d-9765-738e4a04ee9c}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
20 changes: 11 additions & 9 deletions Xamarin/Cinephile/Cinephile.Android/Cinephile.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v13.0</TargetFrameworkVersion>
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
<AndroidUseAapt2>true</AndroidUseAapt2>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
Expand Down Expand Up @@ -53,13 +53,15 @@
<Reference Include="System.Numerics" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ReactiveUI.AndroidX" Version="$(ReactiveUIVersion)" />
<PackageReference Include="Xamarin.AndroidX.Palette" Version="[1.0.0.11]" />
<PackageReference Include="Xamarin.AndroidX.MediaRouter" Version="[1.2.5.3]" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="[2.3.1.1]" />
<PackageReference Include="Xamarin.Google.Android.Material" Version="[1.5.0]" />
<PackageReference Include="Xamarin.AndroidX.Core" Version="[1.8.0]" />
<PackageReference Include="Xamarin.AndroidX.Preference" Version="[1.2.0]" />
<PackageReference Include="Xamarin.Essentials">
<Version>1.8.0</Version>
</PackageReference>
<PackageReference Include="Xamarin.FFImageLoading">
<Version>2.4.11.982</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>5.0.0.2622</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Compile Include="LinkerPreserve.cs" />
Expand Down Expand Up @@ -123,4 +125,4 @@
<AndroidResource Include="Resources\drawable\Splashscreen.xml" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
</Project>
4 changes: 3 additions & 1 deletion Xamarin/Cinephile/Cinephile.Android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
using Android.Runtime;
using Android.OS;
using Akavache;
using FFImageLoading.Forms.Platform;

namespace Cinephile.Droid
{
[Activity(Label = "Cinephile", Icon = "@mipmap/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)]
[Activity(Label = "Cinephile", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
Expand All @@ -18,6 +19,7 @@ protected override void OnCreate(Bundle savedInstanceState)
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
BlobCache.ApplicationName = "Cinephile";
CachedImageRenderer.Init(true);
LoadApplication(new App());
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.giusepe.cinephile.cinephile" android:installLocation="auto">
<uses-sdk android:minSdkVersion="30" android:targetSdkVersion="32" />
<application android:label="Cinephile.Android" android:theme="@style/MyTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.giusepe.cinephile.cinephile">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="33" />
<application android:label="Cinephile.Android" android:theme="@style/MainTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
Loading
Loading