title: How to get reference of child firebase database
body: <p>I am trying to get reference of smth3 from my firebase database</p>
  
  <pre><code>|smth1
  ---|smth2
     ---|smth3
        ---|smth4
        ---|smth5
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>DatabaseReference mDatabase = FirebaseDatabase.getInstance().getReference().child("smth1")
          .child("smth2");
   mDatabase.addValueEventListener(new ValueEventListener() {
              @Override
              public void onDataChange(DataSnapshot dataSnapshot) {
                  int count = 0;
                  DataSnapshot needSnapshot = null;
                  for (DataSnapshot snapshot : dataSnapshot.getChildren()){                       
                          needSnapshot = snapshot;
                          if(count == getPosition()){
                              break;
                          }
                          count++;
  
                  }
  
  
                  mDatabase.child(needSnapshot.getKey()).removeValue();
                  notifyItemRemoved(getPosition());
                  notifyItemRangeChanged(getPosition(), getItemCount());
              }
  
              @Override
              public void onCancelled(DatabaseError databaseError) {
  
              }
          });
  </code></pre>
  
  <p>this code always removes smth2.</p>
  
  <p>after getting reference i want to remove it with all its children and values 
  Please help to get ref of smth3</p>