summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen
diff options
context:
space:
mode:
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-01-03 13:58:12 (GMT)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-01-04 07:29:52 (GMT)
commit47bdcd429f21f178b7257ab0c6c1b7d9491e3e83 (patch)
tree2ed1504b5713e212fde0a8c337ea9691410ad446 /Xamarin.Forms.Platform.Tizen
parent038e97bf21c5099df2be7ab46bbc52eb6d84cfe4 (diff)
downloadxamarin-forms-47bdcd429f21f178b7257ab0c6c1b7d9491e3e83.zip
xamarin-forms-47bdcd429f21f178b7257ab0c6c1b7d9491e3e83.tar.gz
xamarin-forms-47bdcd429f21f178b7257ab0c6c1b7d9491e3e83.tar.bz2
[PickerRenderer] Remove unnecessary listenerrefs/changes/52/108252/3
Change-Id: I4c146c9e7594c48f3310588035427a622ef2460f Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Diffstat (limited to 'Xamarin.Forms.Platform.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;