Images don't load in Xamarin.Forms 4 when using Visual=Material
See original GitHub issueAs described in https://github.com/xamarin/Xamarin.Forms/issues/4674, when using XF4 and setting the ContentPage Visual to Material, images don’t load. The visual code uses ContextThemeWrapper to apply Material themes to controls, but in GlideExtensions.cs:
if (imageView.Context is Activity activity)
else
return;
Without the else images are loaded correctly.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Image won't display in <Image> in Xamarin Forms
That's interesting. I have just tried downloading the image and placing it only in the drawable folder and it showed just fine. If...
Read more >Xamarin Forms, with Release mode, some pictures do not ...
Xamarin Forms, with Release mode, some pictures do not appear on the real device (Android) Images appear on the emulator with Debug and...
Read more >Displaying images with Xamarin.iOS
This document describes how to display images in Xamarin.iOS. It covers adding images to an app either programmatically or through the iOS ...
Read more >Xamarin.iOS can't select image asset for Image View
Launch images(splash screen) doesn't work as well. I tried to use LaunchImages asset, Default.png files in Resources folder of Xamarin.iOS ...
Read more >Share Images and Videos with Essentials Share in Xamarin ...
With the Essentials Share APIs you can easily share text, images, videos or any file from your Xamarin. Forms application to any other ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Got it! Please find a repro at https://github.com/mikescandy/glidex/tree/wrapbug . I forgot that to trigger the issue I had to:
That’s how I triggered it in https://github.com/mikescandy/glidex/tree/wrapbug