We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onSingleTapConfirmed should get a callback and show a Log/Toast when on called according to the logic but it doesn't.
It doesn't get the callback but it does get the callback if the debugger is attached to the device.
Tested on Emulator with the following code - `
gestureDetector = new GestureDetector(this, new GestureDetector.SimpleOnGestureListener() { @Override public boolean onSingleTapConfirmed(MotionEvent e) { if (mapIv.isReady()) { PointF sCoord = mapIv.viewToSourceCoord(e.getX(), e.getY()); Toast.makeText(HomeActivity.this, "touched x:" + sCoord.x + ", y:" + sCoord.y, Toast.LENGTH_LONG).show(); } return true; } }); mapIv.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { return gestureDetector.onTouchEvent(motionEvent); } });
`
Tested on Pixel 3a emulator with android 10
The text was updated successfully, but these errors were encountered:
Happening the same for me too. Any update on this??
Sorry, something went wrong.
No branches or pull requests
Expected behaviour
onSingleTapConfirmed should get a callback and show a Log/Toast when on called according to the logic but it doesn't.
Actual behaviour
It doesn't get the callback but it does get the callback if the debugger is attached to the device.
Steps to reproduce
Tested on Emulator with the following code -
`
`
Affected devices
Tested on Pixel 3a emulator with android 10
The text was updated successfully, but these errors were encountered: