title: Getting values from Firebase in ArrayList
body: <p>I need to get all <code>keys</code> from <code>ReceptIdOne</code> in <code>ArrayList</code> first and next get all   keys from <code>ReceotIdTwo</code> in <code>ArrayList</code>. My database has structure:</p>
  
  <pre><code>{
    "Receptes" : {
      "Ingridients" : {
        "IngridientIdOne" : {
          "Carrot" : true,
          "Salt" : true,
          "Apples" : true
        },
        "IngridientIdTwo" : {
          "Strawberries" : true,
          "Sugar" : true,
          "Bananas" : true
        }
      }
    }
  }
  </code></pre>
  
  <p>I try to get with my code:</p>
  
  <pre><code>DatabaseReference rootRef = FirebaseDatabase.getInstance().getReference();
  DatabaseReference ingridientsRef = rootRef.child("Receptes").child("Ingridients");
  ValueEventListener valueEventListener = new ValueEventListener() {
      @Override
      public void onDataChange(DataSnapshot dataSnapshot) {
          for(DataSnapshot ds : dataSnapshot.getChildren()) {
              String ingridient = ds.getKey();
              Log.d("TAG", ingridient);
          }
      }
  
      @Override
      public void onCancelled(DatabaseError databaseError) {}
  };
  ingridientsRef.addListenerForSingleValueEvent(valueEventListener);
  </code></pre>
  
  <p>But I only get value <code>Ingridients</code> in my Logs. What I do wrong? How can I do what I want?</p>