diff options
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs')
-rw-r--r-- | Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs b/Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs index dc197baf..82e72528 100644 --- a/Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs +++ b/Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs @@ -2,8 +2,11 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; +using Xamarin.Forms.Controls; +using Xamarin.Forms.Platform.Android; using Xamarin.Forms; - +using Xamarin.Forms.ControlGallery.Android; + // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. @@ -37,6 +40,8 @@ using Xamarin.Forms; [assembly: Android.App.MetaData("com.google.android.maps.v2.API_KEY", Value = "AIzaSyAdstcJQswxEjzX5YjLaMcu2aRVEBJw39Y")] [assembly: Xamarin.Forms.ResolutionGroupName ("XamControl")] +// Deliberately broken image source and handler so we can test handling of image loading errors +[assembly: ExportImageSourceHandler(typeof(FailImageSource), typeof(BrokenImageSourceHandler))] #if TEST_LEGACY_RENDERERS [assembly: ExportRenderer(typeof(Button), typeof(Xamarin.Forms.Platform.Android.AppCompat.ButtonRenderer))] [assembly: ExportRenderer(typeof(Image), typeof(Xamarin.Forms.Platform.Android.ImageRenderer))] |