My app currently lets the user register his/her name, email, username, and password into the Firebase database. It creates a child: Users, which is then split into unique id's containing all the information for each id. Ex: Users -> [uniqueID] -> name, email....
I need help finding a way so that when the user enters their email and logs in, it will try to match it with any of the emails in the user's section of the database to see if it is valid. so like
if (listOfEmails.contains(emailLogin.getText().toString()) {
}