Created
February 15, 2018 17:19
-
-
Save jonathanpeppers/7ada1663ee66a8a29dbf6c9152eb75f9 to your computer and use it in GitHub Desktop.
Snippet from Xamarin.Forms at https://github.com/xamarin/Xamarin.Forms/blob/e8660383b03b4010724b36c6eef471a2e74e7c98/Xamarin.Forms.Platform.Android/Extensions/ImageViewExtensions.cs#L55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (bitmap == null && source is FileImageSource) | |
imageView.SetImageResource(ResourceManager.GetDrawableByName(((FileImageSource)source).File)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment