diff options
author | SungHyun Min <shyun.min@samsung.com> | 2017-02-22 19:49:54 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-10-23 13:34:30 +0900 |
commit | a6a7459ebdac9a907928675b2a80ec33202fba5a (patch) | |
tree | 377572ffcc2a754dd38aa730f75569c0c0509cab /Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs | |
parent | 884625d1be0e04f16bad7c8b776a1d1066cf31f2 (diff) | |
download | xamarin-forms-a6a7459ebdac9a907928675b2a80ec33202fba5a.tar.gz xamarin-forms-a6a7459ebdac9a907928675b2a80ec33202fba5a.tar.bz2 xamarin-forms-a6a7459ebdac9a907928675b2a80ec33202fba5a.zip |
Refactoring GestureHandler for extension
- Design : http://suprem.sec.samsung.net/confluence/display/SPTDTLC/Refactoring+GestureHandler
Change-Id: I1cbcf830b4b1076c227b0ea641508198c7cb2102
Signed-off-by: SungHyun Min <shyun.min@samsung.com>
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs index 394ec02b..6baff194 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs @@ -44,8 +44,6 @@ namespace Xamarin.Forms.Platform.Tizen HashSet<string> _batchedProperties = new HashSet<string>(); - internal GestureHandler _gestureHandler; - /// <summary> /// Default constructor. /// </summary> @@ -241,7 +239,6 @@ namespace Xamarin.Forms.Platform.Tizen } } - protected virtual void UpdateLayout() { // we're updating the coordinates of native control only if they were modified @@ -727,7 +724,6 @@ namespace Xamarin.Forms.Platform.Tizen void OnMoved(object sender, EventArgs e) { ApplyTransformation(); - _gestureHandler?.UpdateHitBox(); } void EnsureChildOrder() @@ -778,7 +774,9 @@ namespace Xamarin.Forms.Platform.Tizen NativeView.PassEvents = Element.InputTransparent; } - protected virtual void UpdateThemeStyle() {} + protected virtual void UpdateThemeStyle() + { + } void ApplyRotation(EvasMap map, ERect geometry, ref bool changed) { @@ -843,7 +841,7 @@ namespace Xamarin.Forms.Platform.Tizen } } - public void ApplyTransformation() + protected virtual void ApplyTransformation() { if (null == NativeView) { @@ -866,7 +864,6 @@ namespace Xamarin.Forms.Platform.Tizen { NativeView.EvasMap = map; } - _gestureHandler?.UpdateHitBox(); } } @@ -893,4 +890,4 @@ namespace Xamarin.Forms.Platform.Tizen --s_ignoreCount; } } -} +}
\ No newline at end of file |