Touch
Lectures 13 and 14 â Touch
Lectures 13 and 14 â Touch
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Touch</strong> Events<br />
• Two ways to get touch events<br />
• Either register a new On<strong>Touch</strong>Listener with<br />
a view, (with setOn<strong>Touch</strong>Listener(…))<br />
• Or implement on<strong>Touch</strong>Event() in a custom<br />
View<br />
• Either way, you’ll get delivered a series of<br />
MotionEvents<br />
show how we can set up a touch listener