summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ListViewRenderer.cs12
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs11
2 files changed, 2 insertions, 21 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;
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs
index 19244f95..e9901334 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs
@@ -1,7 +1,6 @@
using System;
using System.ComponentModel;
using ElmSharp;
-using ElmSharp.Wearable;
namespace Xamarin.Forms.Platform.Tizen
{
@@ -28,15 +27,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 CircleScroller(Forms.Context.MainWindow));
- }
- else
- {
- SetNativeControl(new Scroller(Forms.Context.MainWindow));
- }
+ SetNativeControl(new Scroller(Forms.Context.MainWindow));
Control.Scrolled += OnScrolled;
}