title: how to get particular value in firebase android?
body: <p>I want to show only "uname" in my listview but I could not do it. I am getting all the data.</p>
  
  <p><a href="https://i.stack.imgur.com/dKv63.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dKv63.jpg" alt="enter image description here"></a></p>
  
  <pre><code>Query query = databaseReference.child("users");
  query.addChildEventListener(new ChildEventListener() {
      @Override
      public void onChildAdded(DataSnapshot dataSnapshot, String s) {
         for(DataSnapshot data:dataSnapshot.getChildren()){
              Log.i("result",data.toString());
  
              String user =data.getValue(String.class);
              driverlist.add(user);
              Log.i("user message",user);
          }
      }
  }
  </code></pre>