Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From: <a href="https://stackoverflow.com/questions/5261217/android-listview-overriding-causes-scrolling-do-not-executed">Android ListView: overriding causes scrolling do not executed</a></p> <blockquote> <p>Have you tried calling <code>super.onTouchEvent(event)</code> in your <code>onTouchEvent</code> method?</p> <p><strong>Edit</strong> - I think you want to return <code>false</code> as well in your <code>onScroll</code> method.</p> <p>Then your <code>onTouchEvent</code> method should be:</p> <pre><code>@Override public boolean onTouchEvent(MotionEvent event) { if (gestureDetector.onTouchEvent(event)) { return true; } return super.onTouchEvent(event); } </code></pre> </blockquote> <p>Other possible helpful links:</p> <ul> <li><a href="https://stackoverflow.com/questions/2480187/android-how-to-tell-if-a-view-is-scrolling">Android: how to tell if a view is scrolling</a></li> <li><a href="https://stackoverflow.com/questions/3375967/adding-gestureoverlayview-to-my-surfaceview-class-how-to-add-to-view-hierarchy?rq=1">Adding GestureOverlayView to my SurfaceView class, how to add to view hierarchy?</a></li> <li><a href="https://stackoverflow.com/questions/4522637/android-onfling-not-responding">Android onFling not responding</a></li> <li><a href="https://stackoverflow.com/questions/11730425/ongesturelistener-ondown-method-never-gets-called">OnGestureListener onDown method never gets called</a></li> <li><a href="https://stackoverflow.com/questions/6194739/overriding-ontouchevent-competing-with-scrollview">Overriding onTouchEvent competing with ScrollView</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload