summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-06-28 09:01:42 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 02:11:28 (GMT)
commit14995361d7513cbea1a62e2a3be2e1336bf5e81e (patch)
treef3b35f708815bb643e95651a8a90c38f365fa174
parentad9499a98e174d75fcefc0676ef9f5a64ae1e6dd (diff)
downloadxamarin-forms-14995361d7513cbea1a62e2a3be2e1336bf5e81e.zip
xamarin-forms-14995361d7513cbea1a62e2a3be2e1336bf5e81e.tar.gz
xamarin-forms-14995361d7513cbea1a62e2a3be2e1336bf5e81e.tar.bz2
Fix the crash issue when editor is added in ListView
TASK=TCAPI-2480 Change-Id: Icfb93cdc55fef7cb17f0a54f9c88cdd0d38ed70e
-rwxr-xr-x[-rw-r--r--]Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs
index f37566a..7209eae 100644..100755
--- a/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs
@@ -44,6 +44,16 @@ namespace Xamarin.Forms.Platform.Tizen
base.OnElementChanged(e);
}
+ protected override void Dispose(bool disposing)
+ {
+ if (null != Control)
+ {
+ Control.TextChanged -= TextChanged;
+ Control.Activated -= Completed;
+ }
+
+ base.Dispose(disposing);
+ }
protected override void OnElementReady()
{