public static interface SwipeDismissTouchListener.DismissCallbacks
SwipeDismissTouchListener
to inform its client
about a successful dismissal of the view for which it was created.限定符和类型 | 方法和说明 |
---|---|
boolean |
canDismiss(java.lang.Object token)
Called to determine whether the view can be dismissed.
|
void |
onDismiss(View view,
java.lang.Object token)
Called when the user has indicated they she would like to dismiss the view.
|
void |
onNotify() |
boolean canDismiss(java.lang.Object token)
void onDismiss(View view, java.lang.Object token)
view
- The originating View
to be dismissed.token
- The optional token passed to this object's constructor.void onNotify()