I have to use both onTouchListener()
and onItemClickListener()
on a ListView . But only OnTouch()
is getting fired on clicking the listview.
From other posts, the preferred solution is to return false
from onTouch() for the event to not be consumed. I am using only ACTION_UP and ACTION_DOWN and returning false
from onTouch()
but still onItemClick()
is not working?
Also tried returning super.onTouchEvent(event);
from onTouchListener(). Didnt work.