behavior

fun behavior(behavior: InputBehavior)
inline fun behavior(    crossinline onResult: () -> Unit = { },     crossinline onValidate: () -> Boolean = { true },     crossinline onSave: (bundle: Bundle, index: Int) -> Unit = { _, _ -> })

Set the behavior.