Android.SwipeLayout
1.0.0
dotnet add package Android.SwipeLayout --version 1.0.0
NuGet\Install-Package Android.SwipeLayout -Version 1.0.0
<PackageReference Include="Android.SwipeLayout" Version="1.0.0" />
<PackageVersion Include="Android.SwipeLayout" Version="1.0.0" />
<PackageReference Include="Android.SwipeLayout" />
paket add Android.SwipeLayout --version 1.0.0
#r "nuget: Android.SwipeLayout, 1.0.0"
#:package Android.SwipeLayout@1.0.0
#addin nuget:?package=Android.SwipeLayout&version=1.0.0
#tool nuget:?package=Android.SwipeLayout&version=1.0.0
DotNet.Android.SwipeLayout
This is a .NET 8 compatible version of https://www.nuget.org/packages/Xamarin.AndroidSwipeLayout.
The original source code can be found under https://github.com/xamarin/XamarinComponents/tree/main/Android/AndroidSwipeLayout.
However, the project XamarinComponents is abandoned. There is no migrated alternative.
The problem is that the component AndroidSwipeLayout is only compatible with Xamarin.Android (MonoAndroid) and not the newer .NET versions.
Furthermore, it uses the project https://github.com/daimajia/AndroidSwipeLayout as a Java binding library.
This is as well very old and not maintained anymore.
But it needs to be compatible with AndroidX to be usable with modern .NET versions.
This is why this package uses the fork https://github.com/axzae/android-swipe-layout as the base.
The .aar file can be found under https://mvnrepository.com/artifact/com.axzae/swipelayout/1.3.0.
The manual changes are:
- Replaced the NuGet packages to be compatible with
AndroidXand still have support from Microsoft (see https://developer.android.com/jetpack/androidx/migrate/artifact-mappings as orientation). - Removed code from
Metadata.xmlaccording to the warnings (osolete code). - Switched the namespaces for
RecyclerViewinExtras.csfromAndroid.Support.V7toAndroidX.
All used components are available via the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-android34.0 is compatible. net9.0-android was computed. net10.0-android was computed. |
-
net8.0-android34.0
- Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0.22)
- Xamarin.AndroidX.RecyclerView (>= 1.3.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 1,336 | 1/1/2024 |