summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-06-28 18:01:42 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 11:11:28 +0900
commit14995361d7513cbea1a62e2a3be2e1336bf5e81e (patch)
treef3b35f708815bb643e95651a8a90c38f365fa174 /Xamarin.Forms.Platform.Tizen/Renderers
parentad9499a98e174d75fcefc0676ef9f5a64ae1e6dd (diff)
downloadxamarin-forms-14995361d7513cbea1a62e2a3be2e1336bf5e81e.tar.gz
xamarin-forms-14995361d7513cbea1a62e2a3be2e1336bf5e81e.tar.bz2
xamarin-forms-14995361d7513cbea1a62e2a3be2e1336bf5e81e.zip
Fix the crash issue when editor is added in ListView
TASK=TCAPI-2480 Change-Id: Icfb93cdc55fef7cb17f0a54f9c88cdd0d38ed70e
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-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 f37566aa..7209eae9 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()
{