How to detect double taps on ListView items in Android?
问题 i want to do some thing like instagram app when user double tab on photo it make like and while he just tab one time it open as full screen 回答1: I think this answers to Your question as well. Check this link: how to implement double click in android 回答2: If you don't need to prevent single click to be fired, you can do much more simple: @Override public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) { long currTime = System.currentTimeMillis(); if (currTime -