XamarinAndrodX.SwipeDelMenuLayout
1.2.5
dotnet add package XamarinAndrodX.SwipeDelMenuLayout --version 1.2.5
NuGet\Install-Package XamarinAndrodX.SwipeDelMenuLayout -Version 1.2.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XamarinAndrodX.SwipeDelMenuLayout" Version="1.2.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XamarinAndrodX.SwipeDelMenuLayout --version 1.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XamarinAndrodX.SwipeDelMenuLayout, 1.2.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XamarinAndrodX.SwipeDelMenuLayout as a Cake Addin #addin nuget:?package=XamarinAndrodX.SwipeDelMenuLayout&version=1.2.5 // Install XamarinAndrodX.SwipeDelMenuLayout as a Cake Tool #tool nuget:?package=XamarinAndrodX.SwipeDelMenuLayout&version=1.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Android 原项目地址: https://github.com/mcxtzhang/SwipeDelMenuLayout/tree/V1.2.5
原项目1.2.5版本不支持Androidx,已由作者改为支持Androidx
Xamarin.Androidx 目标版本是12
使用方法:
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardElevation="1dp"
app:cardUseCompatPadding="true"
android:layout_width="match_parent"
android:layout_height="100dp">
<com.mcxtzhang.swipemenulib.SwipeMenuLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView"
android:text="占位文本"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Button
android:layout_width="60dp"
android:layout_height="match_parent"
android:background="#d9dee4"
android:text="置顶"
android:textColor="@android:color/white"/>
<Button
android:layout_width="120dp"
android:layout_height="match_parent"
android:background="#ecd50a"
android:clickable="true"
android:text="标记未读"
android:textColor="@android:color/white"/>
<Button
android:layout_width="60dp"
android:layout_height="match_parent"
android:background="#ff4a57"
android:text="删除"
android:textColor="@android:color/white"/>
</com.mcxtzhang.swipemenulib.SwipeMenuLayout >
</androidx.cardview.widget.CardView>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid12.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
MonoAndroid 12.0
- No dependencies.
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.2.5 | 115 | 4/22/2024 |
Summary of changes made in this release of the package.