Can some body help me with some understanding about onTouchListners
??
I am new to android...and doing something more complex I guess..
1. I have a main Activity class which renders a list of 7 pdf files
2. there exists a PDF class which renders the selected item as a new pdf file(done using pdf renderer)
3. there exists a flip class to take care of flipping pages on touch
I am confused about, where to place the following method as it is never getting called if placed correctly and it shud help me deliver the next or previous pdf page..
public boolean onTouch(View v, MotionEvent event) {
return gDetector.onTouchEvent(event);
}
Thank u..
Here is a simple explanation of how OnTouch works...
I hope this helps.
Good Luck. :)