showErrors

private fun showErrors(fnOk: Boolean, lnOk: Boolean, emailOk: Boolean)

Show errors in edit text fields.

If one of the values fnOk, lnOk or emailOk is false, this function wil be called to mark the corresponding edit text field with an error.

Parameters

fnOk

Indicates whether firstname is valid.

lnOk

Indicates whether lastname is valid.

emailOk

Indicates whether email is valid.