简体   繁体   English

Xamarin Android 图像裁剪器

[英]Xamarin Android Image cropper

I've been looking into this image cropper that I found https://github.com/mikescandy/Xamarin-Cropper我一直在研究我发现的这个图像裁剪器https://github.com/mikescandy/Xamarin-Cropper

I used it on my Android Studio project and it works but I don't know how to implement it on Xamarin Visual Studio for Android.我在我的 Android Studio 项目中使用了它并且它可以工作,但我不知道如何在 Xamarin Visual Studio for Android 上实现它。 I'm learning both platforms to increase my knowledge but I'm having a hard time implementing the cropper.我正在学习这两个平台以增加我的知识,但我很难实现裁剪器。

I checked the guide that was included there but it's for Android Studio and still, I can't make it work.我检查了那里包含的指南,但它是针对 Android Studio 的,但仍然无法正常工作。 The sample that was included makes me lost.包含的样本让我迷失了方向。

Anyone know how to implement it properly?有谁知道如何正确实施它? I manage to insert the CropView in my XAML file and initialize it but I'm just lost.我设法插入CropView在我的XAML文件,并对其进行初始化,但我只是失去了。 Please help me, I want to learn.请帮帮我,我想学习。

EDIT: I still cant figure it out, anyone can help me?编辑:我仍然无法弄清楚,有人可以帮助我吗?

You can use the following plugin for it.您可以使用以下插件。

https://github.com/mikescandy/Xamarin-Cropper https://github.com/mikescandy/Xamarin-Cropper

it is well documented on Github as well.它在 Github 上也有详细记录。

Note: This is for Xamarin Mono Android注意:这适用于 Xamarin Mono Android

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM