title: Android - get Values from 2d HashMap
body: <p>I am trying to get some values from a <code>HashMap</code> list. The list is multidimensional and it looks like:</p>
  
  <pre><code>{user_90= {
  levels_win={level_2=true, level_1=true}, 
  levels_stars={level_2=3, level_1=2}
  }}
  </code></pre>
  
  <p>I get the list from firebase database using:</p>
  
  <pre><code>HashMap value = (HashMap) dataSnapshot.getValue();
  </code></pre>
  
  <p>How could I convert the <code>HashMap</code> in order to get the values using:</p>
  
  <pre><code>int star_level_2 = value["user_90"]["levels_stars"]["level_2"];
  </code></pre>