How can I set the DefaultImagePath on MvxImageViewLoader?
How can I get the LocalResourcePath for an UImage?
var imageViewLoader = new MvxImageViewLoader(() => imageView);
imageViewLoader.DefaultImagePath = UIImage.FromBundle("images/Default.png");
imageViewLoader.ErrorImagePath = UIImage.FromBundle("images/Error.png");
Could not get the above to work, the below though worked right away:
Using resource image paths with is discussed in Using MvxImageViewLoader to load a resource image, is it possible? using the
res:
prefixThere has also been a recent question saying
ErrorImagePath
was not working correctly in some http error cases - Adding user agent header to image download request - but no reproduction/issue has been made on this yet.