首页 > 解决方案 > ImageLoaderSourceHandler:无法检索图像或图像数据无效

问题描述

我正在使用 xamarin froms 并尝试显示带有 url 的图像,但出现此错误

网址就像“https://37.34.189..”

Android 选项:HttpClient 实施:托管 SSL 实施:本机 TLS 1.2+

我的代码:

<ffimageloading:CachedImage 
        VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" Aspect="Fill" Margin="0"
        Grid.Row="0" Grid.RowSpan="2"
        DownsampleToViewSize="true"
        Source = "{Binding ProfileImage}">
</ffimageloading:CachedImage>

标签: androidxamarin.forms

解决方案


推荐阅读