checkValues

private fun checkValues(): Boolean

Check whether all values provided by the user are valid.

Call checkEmailFormatto check whether given email address is valid. Check whether the other values are blank or not. If so, show an error message in the corresponding edit text fields by calling showErrors. If all values are valid, store data in userViewModel by calling the setData method of userViewModel.