POCancellationConfiguration

data class POCancellationConfiguration(val secondaryAction: Boolean = true, val backPressed: Boolean = true, val dragDown: Boolean = true, val touchOutside: Boolean = true) : Parcelable

Specifies cancellation behaviour.

Parameters

secondaryAction

Enables secondary cancel action button. Default value is true.

backPressed

Cancel on back button press or back gesture. Default value is true.

dragDown

Cancel when bottom sheet is dragged down out of the screen. Default value is true.

touchOutside

Cancel on touch of the outside dimmed area of the bottom sheet. Default value is true.

Constructors

Link copied to clipboard
constructor(secondaryAction: Boolean = true, backPressed: Boolean = true, dragDown: Boolean = true, touchOutside: Boolean = true)

Properties

Link copied to clipboard
val backPressed: Boolean = true
Link copied to clipboard
val dragDown: Boolean = true
Link copied to clipboard
Link copied to clipboard
val touchOutside: Boolean = true

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)