SwipeDismissTouchListener

Constructs a new swipe-to-dismiss touch listener for the given view.

Parameters

view

The view to make dismissable.

token

An optional token/cookie object to be passed through to the callback.

callbacks

The callback to trigger when the user has indicated that she would like to dismiss this view.