Form Delegation

class FormDelegation : FormDelegate

Delegation of FormDelegate to implement in com.devbase.presentation.base.ActivityCompat and com.devbase.presentation.base.FragmentCompat

Author

Jimly A.

Since

16-Mar-22

Constructors

Link copied to clipboard
fun FormDelegation()

Functions

Link copied to clipboard
open override fun addFormField(    fieldName: String,     view: View,     rules: List<BaseRule>,     action: (String) -> Unit?)

method to add formField to the FormDelegation.form

Link copied to clipboard
open override fun getFormValues(): HashMap<String, String>

method to get values from the FormDelegation.form

Link copied to clipboard
open override fun onNotValidated()

method that run when FormDelegation.form is not validated

Link copied to clipboard
open override fun onValidated()

method that run when FormDelegation.form is validated

Properties

Link copied to clipboard
open override val form: Formulir

Formulir instance for this delegation

Sources

Link copied to clipboard