Example #1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="OsmSharp.Android.UI.MoveGestureDetector"/> class.
		/// </summary>
		/// <param name="context">Context.</param>
		/// <param name="listener">Listener.</param>
        public TapGestureDetector(Context context, IOnTapGestureListener listener) 
			: base(context) {
			_listener = listener;
            _tapPeriod = 200;
            _xTolerance = 10;
            _yTolerance = 10;
		}
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OsmSharp.Android.UI.MoveGestureDetector"/> class.
 /// </summary>
 /// <param name="context">Context.</param>
 /// <param name="listener">Listener.</param>
 public TapGestureDetector(Context context, IOnTapGestureListener listener)
     : base(context)
 {
     _listener   = listener;
     _tapPeriod  = 200;
     _xTolerance = 10;
     _yTolerance = 10;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OsmSharp.Android.UI.MoveGestureDetector"/> class.
 /// </summary>
 /// <param name="context">Context.</param>
 /// <param name="listener">Listener.</param>
 public TapGestureDetector(Context context, IOnTapGestureListener listener)
     : base(context)
 {
     _listener = listener;
     _tapPeriod = 1000;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OsmSharp.Android.UI.MoveGestureDetector"/> class.
 /// </summary>
 /// <param name="context">Context.</param>
 /// <param name="listener">Listener.</param>
 public TapGestureDetector(Context context, IOnTapGestureListener listener)
     : base(context)
 {
     _listener  = listener;
     _tapPeriod = 1000;
 }