public class SwipeDismissTouchListener
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
SwipeDismissTouchListener.DismissCallbacks
The callback interface used by
SwipeDismissTouchListener to inform its client
about a successful dismissal of the view for which it was created. |
构造器和说明 |
---|
SwipeDismissTouchListener(View view,
java.lang.Object token,
SwipeDismissTouchListener.DismissCallbacks callbacks)
Constructs a new swipe-to-dismiss touch listener for the given view.
|
public SwipeDismissTouchListener(View view, java.lang.Object token, SwipeDismissTouchListener.DismissCallbacks callbacks)
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.