StringResult

data class StringResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: String) : EasyFormsResult

Default class to handle String result from ex: TextField.

Parameters

key

a unique identifier for this state.

easyFormsErrorState

the current EasyFormsErrorState this state has.

value

the text entered in TextField.

Constructors

StringResult
Link copied to clipboard
fun StringResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: String)
a unique identifier for this state.

Properties

easyFormsErrorState
Link copied to clipboard
open override val easyFormsErrorState: EasyFormsErrorState
the current EasyFormsErrorState this state has.
key
Link copied to clipboard
open override val key: Any
a unique identifier for this state.
value
Link copied to clipboard
val value: String
the text entered in TextField.

Sources

androidJvm source
Link copied to clipboard