android - Set dispatchTouchEvent for List View without creating custom List View class. (for disabling scroll) -


I'm basically trying to disable scroll on list view. Which can be done by

  @ override public boolean dispatch touchage (Motion AvenEva) {if (ev.getAction () == MotionEvent.ACTION_MOVE) {ev.setAction (MotionEvent.ACTION_CANCEL) ; } SuperDictiveTuueEvent (Eve); Back true; }   

But I do not want to create a custom list view (widget) class for this.

Is there a way myListView.dispatchTouchEvent (ev) ???

Thanks in advance.

Try this one:

  Override Public Boolean Remittance TouchEvent (MotionEvent ev) {Back to Truth; }    

Comments