getDismissDirection
fun getDismissDirection(view: View, horizontalVelocityPx: Float, horizontalDirection: HorizontalDirectionTracker.Direction): DismissalStrategy.DismissDirection?
Content copied to clipboard
Gets a direction that a view dragged with horizontalVelocityPx in horizontalDirection should be dismissed, if it should, otherwise returns the null.