public static interface SwipeDismissTouchListener.DismissCallbacks
SwipeDismissTouchListener
to inform its client
about a successful dismissal of the view for which it was created.Modifier and Type | Method and Description |
---|---|
boolean |
canDismiss(java.lang.Object token)
Called to determine whether the view can be dismissed.
|
void |
onDismiss(android.view.View view,
java.lang.Object token)
Called when the user has indicated they she would like to dismiss the view.
|
boolean canDismiss(java.lang.Object token)
void onDismiss(android.view.View view, java.lang.Object token)
view
- The originating View
to be dismissed.token
- The optional token passed to this object's constructor.