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" />
paket add Android.SwipeLayout --version 1.0.0
#r "nuget: Android.SwipeLayout, 1.0.0"
// Install Android.SwipeLayout as a Cake Addin #addin nuget:?package=Android.SwipeLayout&version=1.0.0 // Install Android.SwipeLayout as a Cake Tool #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
AndroidX
and still have support from Microsoft (see https://developer.android.com/jetpack/androidx/migrate/artifact-mappings as orientation). - Removed code from
Metadata.xml
according to the warnings (osolete code). - Switched the namespaces for
RecyclerView
inExtras.cs
fromAndroid.Support.V7
toAndroidX
.
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. |
-
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 | 310 | 1/1/2024 |