Just implement OnGestureListener.
public class MyListActivity extends ListActivity implements OnGestureListener
Use GestureDetector
GestureDetector detector = new GestureDetector(this, this);
Pass List Touch event to GestureDetector
listView.setOnTouchListener(new OnTouchListener() {
public boolean onTouch(View view, MotionEvent e) {
detector.onTouchEvent(e);
return false;
}
});
, , fling . .
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {}