RequiresConfirmation

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class RequiresConfirmation(val title: String = "Confirm Change", val message: String = "Are you sure you want to change this setting?", val titleRes: Int = 0, val messageRes: Int = 0, val confirmText: String = "Confirm", val confirmTextRes: Int = 0, val cancelText: String = "Cancel", val cancelTextRes: Int = 0, val isDangerous: Boolean = false)

Requires confirmation before changing this setting.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isDangerous: Boolean = false
Link copied to clipboard
Link copied to clipboard
val messageRes: Int = 0
Link copied to clipboard
Link copied to clipboard
val titleRes: Int = 0