Exemplo n.º 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;
		}
Exemplo n.º 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;
 }
Exemplo n.º 3
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;
 }
Exemplo n.º 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;
 }