summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-03-17 08:39:03 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-03-17 08:39:03 (GMT)
commit441b3623df26aecd2e283cfa40c8c7a338ce0a7e (patch)
tree659d7ad8c2fc7ce960255521b48cdcf5b5b0f303
parent20b731f61ef7851d69c5e6499acd4f997b7a5843 (diff)
parentd733faad2dd50a0149f7b98ebe7348c407b5bca0 (diff)
downloadxamarin-forms-441b3623df26aecd2e283cfa40c8c7a338ce0a7e.zip
xamarin-forms-441b3623df26aecd2e283cfa40c8c7a338ce0a7e.tar.gz
xamarin-forms-441b3623df26aecd2e283cfa40c8c7a338ce0a7e.tar.bz2
Merge "Add UpdateAfterloading method in Image" into tizen
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
index 3617b70..f402178 100755..100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
@@ -61,8 +61,7 @@ namespace Xamarin.Forms.Platform.Tizen
if (!IsDisposed && success)
{
((IVisualElementController)Element).NativeSizeChanged();
- UpdateIsOpaque();
- UpdateBlendColor();
+ UpdateAfterLoading();
}
}
@@ -70,6 +69,12 @@ namespace Xamarin.Forms.Platform.Tizen
((IImageController)Element).SetIsLoading(false);
}
+ protected virtual void UpdateAfterLoading()
+ {
+ UpdateIsOpaque();
+ UpdateBlendColor();
+ }
+
void UpdateAspect()
{
Control.Aspect = Element.Aspect;
@@ -142,5 +147,4 @@ namespace Xamarin.Forms.Platform.Tizen
return Task.FromResult<bool>(false);
}
}
-}
-
+} \ No newline at end of file