GenericStateResult

abstract class GenericStateResult<V>(key: Any, easyFormsErrorState: EasyFormsErrorState, value: V) : EasyFormsResult

Abstract class that provide devs to hook their custom result class.

Parameters

key

a unique identifier for this state.

easyFormsErrorState

the current EasyFormsErrorState this state has.

value

the V value.

Constructors

GenericStateResult
Link copied to clipboard
fun <V> GenericStateResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: V)
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
open val value: V
the V value.

Sources

androidJvm source
Link copied to clipboard