Having issue retrieving correct information from Firebase with multiple lookups
问题 Below is the code I implemented which works but its assigning the last Firebase child 'PoolName' and 'PoolId' to all three (3) results when they should be different!? playerInPoolReference = mFirebaseDatabase.getReference("PlayerInPool").child(userID); playerInPoolReference.addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { if(dataSnapshot.exists()) { for (DataSnapshot poolSnapshot : dataSnapshot.getChildren()) { String poolID =