Email that I enter in TextField in this section of code is exactly equal to the email in one of the accounts in the array list, but every no has is true. Where is the problem??
boolean has = false;
for (Account value : accounts) {
if (value.email == email.getText().trim() && value.password == password.getText().trim()) {
has = true;
}
}