summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 14:56:03 -0600
committerE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 14:56:03 -0600
commitd11bc09e75b5ebad2b2e053d3a4b3bb476d9493d (patch)
tree5ae5f0246d3c462ab67a1f48c10eeed640c3705f /Xamarin.Forms.Platform.iOS
parent93f22aaf28a3580b19559a793e2a3e6cd91b9bdb (diff)
downloadxamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.tar.gz
xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.tar.bz2
xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.zip
Prep Image for removal of InternalsVisibleTo (#140)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/ImageRenderer.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/ImageRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/ImageRenderer.cs
index ad07b591..4fd85c6a 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/ImageRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/ImageRenderer.cs
@@ -118,7 +118,8 @@ namespace Xamarin.Forms.Platform.iOS
}
IImageSourceHandler handler;
- ((IElementController)Element).SetValueFromRenderer(Image.IsLoadingPropertyKey, true);
+
+ ((IImageController)Element).SetIsLoading(true);
if (source != null && (handler = Registrar.Registered.GetHandler<IImageSourceHandler>(source.GetType())) != null)
{
@@ -143,7 +144,7 @@ namespace Xamarin.Forms.Platform.iOS
Control.Image = null;
if (!_isDisposed)
- ((IElementController)Element).SetValueFromRenderer(Image.IsLoadingPropertyKey, false);
+ ((IImageController)Element).SetIsLoading(false);
}
void SetOpacity()