sheets
input
/
com.maxkeppeler.sheets.input.type
/
InputCustom
/
behavior
behavior
fun
behavior
(
behavior
:
InputBehavior
)
Content copied to clipboard
inline
fun
behavior
(
crossinline
onResult
:
(
)
->
Unit
=
{ }
,
crossinline
onValidate
:
(
)
->
Boolean
=
{ true }
,
crossinline
onSave
:
(
bundle
:
Bundle
,
index
:
Int
)
->
Unit
=
{ _, _ -> }
)
Content copied to clipboard
Set the behavior.