DismissCallbacks

The callback interface used by SwipeDismissTouchListener to inform its client about a successful dismissal of the view for which it was created.

Functions

Link copied to clipboard
abstract fun canDismiss(token: Any): Boolean
Called to determine whether the view can be dismissed.
Link copied to clipboard
abstract fun onDismiss(view: View, token: Any)
Called when the user has indicated they she would like to dismiss the view.