首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >FFImageLoading CachedImage未显示gif图像

FFImageLoading CachedImage未显示gif图像
EN

Stack Overflow用户
提问于 2018-09-14 15:44:29
回答 1查看 623关注 0票数 0

我正在使用xamarin表单进行我的应用程序开发。我正在使用FFimageloading查看gif文件。我在xaml文件中使用了以下代码:

代码语言:javascript
复制
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="myproject.View.MasterDetailPage1Detail"
             Icon="UEmlogotiny.png"
             xmlns:ff="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"  
             xmlns:ffSvg="clr-namespace:FFImageLoading.Svg.Forms;assembly=FFImageLoading.Svg.Forms"  
             xmlns:ffTransformations="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"
             >

……

代码语言:javascript
复制
<ff:CachedImage x:Name="Gif" Source="resource://UETrack.Beats.App.loader.gif" VerticalOptions="CenterAndExpand"
                         HorizontalOptions="CenterAndExpand"
                            WidthRequest="75" HeightRequest="75"
                            DownsampleToViewSize="True" IsVisible="True"/>

将映像构建操作更改为"Embedded Resource“

在Orio上显示了gif图像。但不会出现在奥利奥的下方。

有人能帮我解决这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 2018-09-29 00:08:45

如果是这样,您可以简单地执行以下操作:

代码语言:javascript
复制
Source="loader.gif"
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52327223

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档