Profile Activity View Model
The ProfileActivityViewModel class is the support class used by the ProfileActivity to change the user account settings or preferences
Author
N7ghtm4r3 - Tecknobit
Parameters
snackbar Host State
: the host to launch the snackbar messages
See also
Properties
Link copied to clipboard
newEmail -> the value of the new email to set
Link copied to clipboard
newEmailError -> whether the newEmail field is not valid
Link copied to clipboard
newPassword -> the value of the new password to set
Link copied to clipboard
newPasswordError -> whether the newPassword field is not valid
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Function to execute the email change
Link copied to clipboard
Function to execute the language change
Link copied to clipboard
Function to execute the password change
Link copied to clipboard
Function to execute the profile pic change
Link copied to clipboard
Function to execute the theme change
Link copied to clipboard
Method to clear the current localUser session
Link copied to clipboard
Link copied to clipboard
Function to execute the account deletion
Link copied to clipboard
open override fun execRefreshingRoutine(currentContext: Class<*>, routine: () -> Unit, repeatRoutine: Boolean, refreshDelay: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard