Connect View Model
The ConnectViewModel class is the support class used by the ConnectActivity to execute the authentication requests to the backend
Author
N7ghtm4r3 - Tecknobit
Parameters
: the host to launch the snackbar messages
: the current context where this model has been created
See also
Properties
email -> the email of the user
emailError -> whether the email field is not valid
host -> the value of the host to reach
hostError -> whether the host field is not valid
isSignUp -> whether the auth request to execute is sign up or sign in
name -> the name of the user
nameError -> whether the name field is not valid
password -> the password of the user
passwordError -> whether the password field is not valid
serverSecret -> the value of the server secret
serverSecretError -> whether the serverSecret field is not valid
surname -> the surname of the user
surnameError -> whether the surname field is not valid
tagName -> the tag name of the user
nameError -> whether the tagName field is not valid