summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-05 06:05:07 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-01-05 06:05:07 (GMT)
commitc81a35b56f2de43334d83bcd55774660583e8de9 (patch)
tree63ebdecfa2c234ca20a0424e563bab325ed3b2b5
parentae0ccf26f110bb10df5bb6d1b32bb51452c7b528 (diff)
parent47bdcd429f21f178b7257ab0c6c1b7d9491e3e83 (diff)
downloadxamarin-forms-c81a35b56f2de43334d83bcd55774660583e8de9.zip
xamarin-forms-c81a35b56f2de43334d83bcd55774660583e8de9.tar.gz
xamarin-forms-c81a35b56f2de43334d83bcd55774660583e8de9.tar.bz2
Merge "[PickerRenderer] Remove unnecessary listener" into tizen
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/PickerRenderer.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/PickerRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/PickerRenderer.cs
index 9abd507..4508ccf 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/PickerRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/PickerRenderer.cs
@@ -27,7 +27,6 @@ namespace Xamarin.Forms.Platform.Tizen
if (e.OldElement != null)
{
Control.Clicked -= OnClick;
- ((ObservableList<String>)e.OldElement.Items).CollectionChanged -= RowsCollectionChanged;
}
if (e.NewElement != null)
@@ -35,7 +34,6 @@ namespace Xamarin.Forms.Platform.Tizen
UpdateSelectedIndex();
Control.Clicked += OnClick;
- ((ObservableList<String>)e.NewElement.Items).CollectionChanged += RowsCollectionChanged;
}
base.OnElementChanged(e);
@@ -57,11 +55,6 @@ namespace Xamarin.Forms.Platform.Tizen
"" : Element.Items[Element.SelectedIndex]);
}
- void RowsCollectionChanged(object sender, EventArgs e)
- {
- UpdateSelectedIndex();
- }
-
void OnClick(object sender, EventArgs e)
{
int i = 0;