Here is a summary of what i m trying to achieve. I have a view, on that view i m listening for MotionEvent. When it matches a specific condition, i would like to pass that MotionEvent to a GridView, in order to scroll. I m doing something like
if (event.getAction() == MotionEvent.ACTION_MOVE) {
if (condition match) {
getGridView().dispatchTouchEvent(event);
}
}
But it does not make my grid scrolling according to the MotionEvent. Maybe it's not listening for that kind of event but since there is not "ScrollEvent" i don't know.
Can anyone please enlight me about that. I didn't find the doc helpfull. Thank you.