I'm override dispatchTouchEvent in my Row Class.
@Override
public boolean dispatchTouchEvent(MotionEvent event) {
my code...
}
But now don't call method onItemClick
in adapter, because dispatchTouchEvent
do my actions and return true
.
How and where could i define what action i have to do on user action?
I just wan't do onItemClick
if user tap and dispatchTouchEvent
if user pan.
Maybe i could define what action is that right in dispatchTouchEvent
?