0

I have a class:

class MyGestureDetector extends SimpleOnGestureListener {


    @Override

    public void  onLongPress(MotionEvent e) {
   //Do something
    }
 }

How can I get View of wiget, which was longpressed (in my case it's Item in Listview).

4

1 回答 1

0

改为使用OnItemLongClickListener

于 2013-04-12T08:53:00.517 回答