title: DatabaseReference not being fetched from Firestore
body: <p>I'm trying to display the following information from my <strong>FireStore</strong> Database
  <a href="https://i.stack.imgur.com/Jzi19.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jzi19.png" alt="enter image description here" /></a>
  For a given user (current user) I want to display their 'matches'(other user's id and information)
  I also tried with a different structure by having an array of matches (user id strings) inside each user.
  This is what I am trying:</p>
  <pre><code>    protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_matches);
          currentUserID = FirebaseAuth.getInstance().getCurrentUser().getUid();
          System.out.println(&quot;current user is: &quot;+currentUserID);
          mRecyclerView = (RecyclerView) findViewById(R.id.recyclerView);
          mRecyclerView.setNestedScrollingEnabled(false);
  //      mRecyclerView.setHasFixedSize(true);
          mMatchesLayoutManager = new LinearLayoutManager(MatchesActivity.this);
          mRecyclerView.setLayoutManager(mMatchesLayoutManager);
          mMatchesAdapter = new MatchesAdapter(getDataSetMatches(), MatchesActivity.this);
          mRecyclerView.setAdapter(mMatchesAdapter);
          getUserMatchId();
  
      }
  private void getUserMatchId() {
      DatabaseReference matchDb = FirebaseDatabase.getInstance().getReference().child(&quot;users&quot;).child(currentUserID).child(&quot;connections&quot;).child(&quot;matches&quot;);
      matchDb.addListenerForSingleValueEvent(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              if (dataSnapshot.exists()){
                  for(DataSnapshot match : dataSnapshot.getChildren()){
                      System.out.println(match.toString());
                      FetchMatchInformation(match.getKey());
                  }
              }
          }
          @Override
          public void onCancelled(DatabaseError databaseError) {
  
          }
      });
  }
  private void FetchMatchInformation(String key) {
      DatabaseReference userDb = FirebaseDatabase.getInstance().getReference().child(&quot;users&quot;).child(key);
      userDb.addListenerForSingleValueEvent(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              if (dataSnapshot.exists()){
                  String userId = dataSnapshot.getKey();
                  String name = &quot;&quot;;
                  String profileIMageUrl = &quot;&quot;;
                  if(dataSnapshot.child(&quot;name&quot;).getValue()!=null){
                      name = dataSnapshot.child(&quot;name&quot;).getValue().toString();
                  }
                  if(dataSnapshot.child(&quot;profileImageUrl&quot;).getValue()!=null){
                      profileIMageUrl = dataSnapshot.child(&quot;profileImageUrl&quot;).getValue().toString();
                  }
                  MatchesObject obj = new MatchesObject(userId, name, profileIMageUrl);
                  resultsMatches.add(obj);
                  mMatchesAdapter.notifyDataSetChanged();
              }
          }
          @Override
          public void onCancelled(DatabaseError databaseError) {
          }
      });
  }
  
  private ArrayList&lt;MatchesObject&gt; resultsMatches = new ArrayList&lt;&gt;();
  
  private List&lt;MatchesObject&gt; getDataSetMatches() {
      return resultsMatches;
  }
  </code></pre>
  <p>I tried debugging the code for a little bit and I realized that after adding the listener to matchDB nothing happens
  It'd be great if you could tell me why nothing is being displayed and how to access the matches properly.</p>