summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native
diff options
context:
space:
mode:
authorJeongkyun <jk.pu@samsung.com>2017-08-02 10:08:08 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 13:34:41 +0900
commitff7a5d2cd3a0fb301e56a7b42108830815141ef2 (patch)
treef8b2771b6fe6b3f76d464bbfa81dcd663424296a /Xamarin.Forms.Platform.Tizen/Native
parentd7f6fc894a6837fd032b76d9aa38b7a7b2a02c17 (diff)
downloadxamarin-forms-ff7a5d2cd3a0fb301e56a7b42108830815141ef2.tar.gz
xamarin-forms-ff7a5d2cd3a0fb301e56a7b42108830815141ef2.tar.bz2
xamarin-forms-ff7a5d2cd3a0fb301e56a7b42108830815141ef2.zip
add Circle Native controll for wearable profile
set CircleScroller and CircleListView control when profile is wearable. Change-Id: I5e133e2d6d5797db16c3fef75edd10ce2867a839 Signed-off-by: Jeongkyun <jk.pu@samsung.com>
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native')
-rwxr-xr-xXamarin.Forms.Platform.Tizen/Native/CircleListView.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/CircleListView.cs b/Xamarin.Forms.Platform.Tizen/Native/CircleListView.cs
new file mode 100755
index 00000000..231896a3
--- /dev/null
+++ b/Xamarin.Forms.Platform.Tizen/Native/CircleListView.cs
@@ -0,0 +1,20 @@
+using System;
+using ElmSharp;
+using ElmSharp.Wearable;
+
+namespace Xamarin.Forms.Platform.Tizen.Native
+{
+ public class CircleListView : ListView
+ {
+ CircleGenList _circleGenList;
+
+ public CircleListView(EvasObject parent) : base(parent) { }
+
+ protected override IntPtr CreateHandle(EvasObject parent)
+ {
+ _circleGenList = new CircleGenList(parent);
+ RealHandle = _circleGenList.RealHandle;
+ return _circleGenList;
+ }
+ }
+} \ No newline at end of file