blob: c5505e8bf492c55e4c0a32d136379e5a071e0737 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package com.mikemiller.gymlog;
import android.content.Context;
import android.view.GestureDetector;
import android.view.MotionEvent;
/**
* Created by Mike on 3/29/14. COPYRIGHT OLIO.
*/
public class DoubleTapDetector extends GestureDetector.SimpleOnGestureListener {
public Context context;
public String phno;
public DoubleTapDetector(Context con)
{
this.context=con;
}
@Override
public boolean onDown(MotionEvent e) {
return false;
}
@Override
public boolean onDoubleTap(MotionEvent e) {
return true;
}
@Override
public boolean onSingleTapUp(MotionEvent e) {
return false;
}
}
|