summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
diff options
context:
space:
mode:
authorSamantha Houts <samantha@teamredwall.com>2016-08-30 11:14:13 -0700
committerJason Smith <jason.smith@xamarin.com>2016-08-30 11:14:13 -0700
commitab0daa194734be0e45d8582e9254c447b464b27f (patch)
tree8549bb2248d8d51987b0e017c2855622d30209d9 /Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
parent1b7250167ff027bbd5ce3d2950a3e3495a13a5f7 (diff)
downloadxamarin-forms-ab0daa194734be0e45d8582e9254c447b464b27f.tar.gz
xamarin-forms-ab0daa194734be0e45d8582e9254c447b464b27f.tar.bz2
xamarin-forms-ab0daa194734be0e45d8582e9254c447b464b27f.zip
[A] PanGestureRecognizer will consistently send Completed event (#313)
* Adjust gallery page for reproduction * [A] Forward OnTouchEvent to Listener... ...and end scrolling on Up.
Diffstat (limited to 'Xamarin.Forms.Platform.Android/VisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/VisualElementRenderer.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
index 5274f897..404dd23e 100644
--- a/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
@@ -98,6 +98,9 @@ namespace Xamarin.Forms.Platform.Android
ScaleGestureDetectorCompat.SetQuickScaleEnabled(_scaleDetector.Value, true);
handled = _scaleDetector.Value.OnTouchEvent(e);
}
+
+ _gestureListener?.OnTouchEvent(e);
+
return _gestureDetector.Value.OnTouchEvent(e) || handled;
}