Firebase always true when checking if data exists
问题 I want to check if the data at the current 2 references exists, but it seems it returns always true (always the first Toast ) and i think is not checking if URL_CARS AND URL_PLANES exists , here is what i have: mDatabase.child("Users").child(FirebaseAuth.getInstance().getCurrentUser().getUid()).child("URL_CARS").addValueEventListener(new ValueEventListener() { @Override public void onDataChange(final DataSnapshot dataSnapshotCars) { mDatabase.child("Users").child(FirebaseAuth.getInstance()