Postpone property updates till image finishes loading
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 16 Jan 2017 10:20:52 +0000 (11:20 +0100)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 10 Jul 2017 02:11:16 +0000 (11:11 +0900)
Change-Id: I14ec915050bd62415e065904a4365e12eb7f33c9
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs

index 1f56edd..3617b70 100755 (executable)
@@ -61,6 +61,7 @@ namespace Xamarin.Forms.Platform.Tizen
                                if (!IsDisposed && success)
                                {
                                        ((IVisualElementController)Element).NativeSizeChanged();
+                                       UpdateIsOpaque();
                                        UpdateBlendColor();
                                }
                        }
@@ -88,8 +89,6 @@ namespace Xamarin.Forms.Platform.Tizen
                {
                        UpdateSource();
                        UpdateAspect();
-                       UpdateIsOpaque();
-                       UpdateBlendColor();
                }
        }