I know this type of question is asked before here. I have tried both gesture detector :
wholelistview.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
if (gestureDetector.onTouchEvent(event)) {
return true;
}
return false;
}
});
which detects only swipe(cannot get row position here).
similarly in getview:
public View getView(int position, View convertView, ViewGroup parent) {
//other stuff
convertview.setOnTouchListener(same as above);
}
but cannot detect swipe.
Any solution for this ??? I want only the row position on which swipe is made.