We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! Recently I replaced default Xamarin SDWebImage library bindings with this library bindings.
In Xamarin binding code below works perfrect:
SDWebImageManager.SharedManager().LoadImageWithURL(NSUrl.FromString(markerParams.CustomIcon), SDWebImageOptions.HighPriority, null, (image, data, error, cacheType, finished, imageUrl) => { if (googleMarker.IconView != null && finished) { ((UIImageView)googleMarker.IconView).Image = _mapMarkerImageService.GetUserAvatarIcon(image); } });
But with this library it throws exception:
System.MemberAccessException: Cannot create an instance of Ricardo.SDWebImage.iOS.SDWebImageOperation because it is an abstract class.
I found workaround like this:
new UIImageView().Sd_setImageWithURL(NSUrl.FromString(markerParams.CustomIcon), (image, error, type, url) => { if (error == null) { ((UIImageView)googleMarker.IconView).Image = _mapMarkerImageService.GetUserAvatarIcon(image); } });
So can I get it works without creating fake imageView??
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
Recently I replaced default Xamarin SDWebImage library bindings with this library bindings.
In Xamarin binding code below works perfrect:
But with this library it throws exception:
System.MemberAccessException: Cannot create an instance of Ricardo.SDWebImage.iOS.SDWebImageOperation because it is an abstract class.
I found workaround like this:
So can I get it works without creating fake imageView??
The text was updated successfully, but these errors were encountered: