GestureSequence

A basic library that enables easy composition of gesture sequence recognition on a view.

Basic API looks like:

// Perform action() when the view is tapped twice followed by a long press
GestureSequence.Builder(view)
    .tap()
    .tap()
    .longPress()
    .applyToView { action() }

Supported gestures:

  • Tap
  • Long press

GitHub

View Github