add And Get Custom State
fun <ST, CT, S : EasyFormsState<ST, CT>> addAndGetCustomState(key: Any, state: S): S
Content copied to clipboard
Create or Get a custom state provided by you.
Return
your custom state after its being added to forms if it wasn't already.
Parameters
key
a unique identifier for this state.
state
your custom state that should be stored in forms.
Sources
androidJvm source
Link copied to clipboard