I'm trying to perform login
operation in my app using firebase
my Users
node is something like:
mUserCompounds.orderByChild("email").equalTo("test@gmail.com").addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
System.out.println(dataSnapshot.getChildrenCount()); }
@Override
public void onCancelled(DatabaseError databaseError) {
}
});
i want to get that complete object
with which i have matched the name. so that
i can also compare password etc. Thanks for help.