DismissalStrategy

fun DismissalStrategy(context: Context, dismissViewWidthThreshold: Float)

Parameters

context

Context.

dismissViewWidthThreshold

A constant to determine width proportion threshold to dismiss a view. This constant should be in range 0f to 1f.