summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-11-03 13:31:09 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-11-03 13:31:09 +0900
commita56cc3e16a9dd3ef68f2257cd04c0327595a82c0 (patch)
treefed076d48330df8b1cc53c2b89b4136f72b48889 /Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs
parent8a21cd47f472096b987a18fa0cc21cd1199f80d1 (diff)
downloadxamarin-forms-a56cc3e16a9dd3ef68f2257cd04c0327595a82c0.tar.gz
xamarin-forms-a56cc3e16a9dd3ef68f2257cd04c0327595a82c0.tar.bz2
xamarin-forms-a56cc3e16a9dd3ef68f2257cd04c0327595a82c0.zip
Remove ElmSharp.Wearable dependencies on rendererstizen
Change-Id: I1a89703770fccad795b433144e89a9c9a5d867a0
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs12
1 files changed, 1 insertions, 11 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs
index e2611ead..e72715a9 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs
@@ -2,8 +2,6 @@ using System;
using System.Collections.Specialized;
using Xamarin.Forms.Internals;
using ElmSharp;
-using EProgressBar = ElmSharp.ProgressBar;
-using ERect = ElmSharp.Rect;
namespace Xamarin.Forms.Platform.Tizen
{
@@ -55,15 +53,7 @@ namespace Xamarin.Forms.Platform.Tizen
{
if (Control == null)
{
- ///TODO: If 'Watch' target idiom is added, it should be replaced something like Device.Idiom == TargetIdiom.Watch.
- if (Forms.GetProfile() == "wearable")
- {
- SetNativeControl(new Native.CircleListView(Forms.Context.MainWindow));
- }
- else
- {
- SetNativeControl(new Native.ListView(Forms.Context.MainWindow));
- }
+ SetNativeControl(new Native.ListView(Forms.Context.MainWindow));
Control.ItemSelected += OnListViewItemSelected;
Control.ItemUnselected += OnListViewItemUnselected;