0
我是Xamarin新手,我必須在我的跨平臺應用程序中添加GIF圖像,我已閱讀了關於GifImageView(https://github.com/jamesmontemagno/GifImageView-Xamarin.Android)的信息,我知道必須將其與自定義渲染器一起使用,但我不知道如何實現這一點。Xamarin.Forms中的GIF圖像
我是Xamarin新手,我必須在我的跨平臺應用程序中添加GIF圖像,我已閱讀了關於GifImageView(https://github.com/jamesmontemagno/GifImageView-Xamarin.Android)的信息,我知道必須將其與自定義渲染器一起使用,但我不知道如何實現這一點。Xamarin.Forms中的GIF圖像
,如果你想輕鬆實現您的GIF與您使用滑翔庫更少的配置我的意見,而其現在通過的NuGet
https://www.nuget.org/packages/Glide.Xamarin/
支持如何使用
Glide.With(context).Load("GifUrl")
.Placeholder(Resource.Drawable.placeholder)
.DiskCacheStrategy(DiskCacheStrategy.Source)
.Into(viewHolder.propertyImageView);
如果你有使用android的經驗,你可以使用Glide https://github.com/thanhdatbkhn/GlideXamarinBinding –