checkEmpty

private fun checkEmpty(username: String, password: String): Boolean

Checks if the user entered both a username (or email address) and a password.

Return

false if the user entered both a username (or email address) and a password; true, otherwise.

Parameters

username

Value entered in the input field for the username (or email address).

password

Value entered in the input field for the password.