BothSideDismissalStrategy

class BothSideDismissalStrategy(context: Context, dismissViewWidthThreshold: Float) : DismissalStrategy

Constructors

Link copied to clipboard
fun BothSideDismissalStrategy(context: Context, dismissViewWidthThreshold: Float)

Functions

Link copied to clipboard

Get an area within which a view can be dragged.

Inherited functions

Link copied to clipboard

Gets a direction that a view dragged with horizontalVelocityPx in horizontalDirection should be dismissed, if it should, otherwise returns the null.