Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MvvmQuickCross data-binding support code for MultiImageView Xamarin Store component. Insert in MvvmQuickCross\ViewDataBindings.UI.cs in the UpdateView(View view, object value) method, directly below the comment that says: // TODO: Add cases here for specialized view types, as needed
// TODO: Add cases here for specialized view types, as needed
case "Macaw.UIComponents.MultiImageView":
{
if (value is Uri) value = ((Uri)value).AbsoluteUri;
var multiImageView = (Macaw.UIComponents.MultiImageView)view;
multiImageView.LoadImageList(value == null ? null : new[] { (string)value });
multiImageView.LoadImage();
}
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.