title: fetch data from firebase having a randomly generated key
body: <p>Below is the code that I am using to save value into firebase. It generates a random key for every value. (I want to save redundant data, so this method was necessary).</p>
  
  <pre><code>GenderOfNameHelperClass GONHC = new GenderOfNameHelperClass();
  reference = FirebaseDatabase.getInstance().getReference().child("GenderOfName");
  GONHC.setName(Name);
  GONHC.setGender(Gender);
  reference.push().setValue(GONHC);
  </code></pre>
  
  <p>This creates a structure as below:</p>
  
  <pre><code>db-ai-34201
  -...GenderOfName
      -...M4oLyB1ADGLWGJG4EgR
          ...gender:"Female"
          ...name: "akira"
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/y62Mj.png" alt=""></p>
  
  <p>Now how can I fetch the data from this.
  I want to fetch the gender, when name is searched from my android UI.</p>