Collection of example applications to highlight doing custom touch event handling and using GestureDetectors in Android applications.
Switch branches/tags
Nothing to show
Clone or download

Mastering Android Touch Examples

This repository contains a sample application demonstrating many of the techniques for doing custom touch event handling discussed in "Mastering the Android Touch System".

Examples include:

  • Overriding onTouchEvent()
  • Overriding onInterceptTouchEvent()
  • GestureDetector
  • ScaleGestureDetector
  • TouchDelegate

The sample code is licensed under the MIT Open Source License