title: How to get list of root firebase database
body: <p>I'm trying to get a list of one of my root nodes of my database</p>
  
  <p>my database is set up like this </p>
  
  <pre><code>beans-card
         --user
             --008675
                --...
                --...
                --...
             --007865
                --...
                --...
                --...
  </code></pre>
  
  <p>and so on...
  i'm trying to get a list of the user which is made up of 6 digit string.</p>
  
  <p>my code to read is </p>
  
  <pre><code> DatabaseReference list_db = FirebaseDatabase.getInstance().getReference();
          list_db.addValueEventListener(new ValueEventListener() {
              @Override
              public void onDataChange(DataSnapshot dataSnapshot) {
                  getAllTask(dataSnapshot);
              }
  
              @Override
              public void onCancelled(DatabaseError databaseError) {
  
              }
          });
  
   private void getAllTask (DataSnapshot dataSnapshot) {
      for (DataSnapshot singleSnapshot : dataSnapshot.getChildren()) {
          Users users = singleSnapshot.getValue(Users.class);
          allUsers.add(users);
  
      }
      recyclerViewAdapter = new RecyclerViewAdapter(this,
              allUsers);
      recyclerView.setAdapter(recyclerViewAdapter);
  }
  </code></pre>
  
  <p>and the error im currently getting is </p>
  
  <pre><code>11-28 13:44:38.622 23572-23572/ca.mobile.jenovaprojects.rewardsreader W/ClassMapper: No setter/field for 778018 found on class ca.mobile.jenovaprojects.rewardsreader.main.models.Users
  </code></pre>
  
  <p>for each user thats in the database.</p>
  
  <p>thanks for any insight</p>