From 48cd220cc20b7a6bb95476643a500559ebcbfa9b Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Tue, 1 Aug 2017 10:40:28 +0900 Subject: [PATCH] [Tizen] Fix Border property in ImageView does not work issue. This reverts commit 106f1b4ccfc89fefa1d606238e47509514b988aa. Change-Id: Iaa612fd95ab72c6dad534684b81a8427f5cea139 --- src/Tizen.NUI/src/public/BaseComponents/ImageView.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index ef1f2c3..5182c4f 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -169,11 +169,13 @@ namespace Tizen.NUI.BaseComponents /// The url of the image resource to display public ImageView(string url) : this(NDalicPINVOKE.ImageView_New__SWIG_2(url), true) { + _url = url; if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } internal ImageView(string url, Uint16Pair size) : this(NDalicPINVOKE.ImageView_New__SWIG_3(url, Uint16Pair.getCPtr(size)), true) { + _url = url; if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -192,11 +194,13 @@ namespace Tizen.NUI.BaseComponents /// The URL to the image resource to display public void SetImage(string url) { + _url = url; NDalicPINVOKE.ImageView_SetImage__SWIG_1(swigCPtr, url); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } internal void SetImage(string url, Uint16Pair size) { + _url = url; NDalicPINVOKE.ImageView_SetImage__SWIG_2(swigCPtr, url, Uint16Pair.getCPtr(size)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } -- 2.7.4