在iOS中使用FFImageLoading.Cross.MvxCachedImageView进行绑定

时间:2017-06-17 23:36:13

标签: mvvmcross oneway ffimageloading

我正在使用FFImageLoading.Cross.MvxCachedImageView并试图在iOS中进行条件绑定,但是它失败并带有以下Mvx跟踪:

  

绑定执行期间遇到的问题绑定Image for MvxValueConverterValueCombiner combiner-operation - 问题ArgumentException:类型为' System.String'的对象无法转换为类型' UIKit.UIImage'。

有谁知道什么可能是错的?

set.Bind(imgInfo)
        .For(x => x.DataLocationUri)
        .OneWay()
        .SourceDescribed(@"If(IsFake, 'res:ic_lock_open_white', 'res:ic_info_outline_white')");

0 个答案:

没有答案