xamarin-forms-samples icon indicating copy to clipboard operation
xamarin-forms-samples copied to clipboard

WorkingWithImages iOS sample missing waterfront.jpg file

Open davefxy opened this issue 5 years ago • 0 comments

WorkingWithImages iOS sample missing waterfront.jpg file. It is also missing an Entitlements.plist file. And while we are looking at this sample, perhaps you could consider updating the DownloadImagesXaml.cs file lines: <Image Source="https://aka.ms/campus2.jpg" /> <!--LoadingPlaceholder="loading.png" ErrorPlaceholder="error.png" />--> I believe the 2 commented out lines refer to nonexistent methods. However you replace this with something like (from the DataBindingDemos): <Image Source="{Binding Source={x:Reference thispage}, Path=LocalBadUri, TargetNullValue={StaticResource fallbackImageUrl}}" /> where LocalBadUri refers to "https://aka.ms/campus2.jpg" and fallbackImageUrl refers to : <x:String x:Key="fallbackImageUrl">https://upload.wikimedia.org/wikipedia/commons/2/20/Point_d_interrogation.jpg</x:String> And it would be fantastic if you included an example using an http (not https) website and utilizing the Android network_security_config file. There are no samples showing the use of this Android feature.

davefxy avatar Nov 05 '20 19:11 davefxy