title: I can't retrieve boolean data from Firebase Database
body: <p>I am trying to create an Android chat application. At this context, I am trying to let people add friend each other(a classic). But I can't retrieve boolean data from Firebase Database. It is always returning false/maybe null. Check my Firebase backend;</p>
  
  <pre><code>friends{
   552nQquUrtSgbVVLgXxfxOh6SL52{
        NuJohj7nalWnpiMfC1zl3r77QDt2: true
        vIYkKWAWwKTRD4NQfixzcNnfk6X2: true
     }
  }     
  </code></pre>
  
  <p>And my Android code is below;</p>
  
  <pre><code> public boolean checkFriend(final String uID){
      mDatabase = FirebaseDatabase.getInstance().getReference("friends");
      mDatabase.child(user.getUid()).addListenerForSingleValueEvent(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot snapshot) {
             ret= (Boolean) snapshot.child(uID).getValue();               
          }
  
          @Override
          public void onCancelled(DatabaseError databaseError) {
              Log.i("HATA OLUŞTU!","FriendManager checkFriend'de veri tabanı bağlantısı hatası oluştu."+ databaseError);
          }
      });
      Log.i("Database", mDatabase.child(user.getUid()).toString()+" +++ "+uID+" ++++ "+ ret.toString());
      return ret;
  }
  </code></pre>
  
  <p>And my logcat is below</p>
  
  <pre><code>05-17 03:40:35.803 22488-22488/com.furkan.profil I/Database: https://profil-95859.firebaseio.com/friends/552nQquUrtSgbVVLgXxfxOh6SL52 +++ 539vt6Cwi0Y4dF3qmgI6LN1kJJo1 ++++ false
  05-17 03:40:35.805 22488-22488/com.furkan.profil I/Database: https://profil-95859.firebaseio.com/friends/552nQquUrtSgbVVLgXxfxOh6SL52 +++ NuJohj7nalWnpiMfC1zl3r77QDt2 ++++ false
  05-17 03:40:35.805 22488-22488/com.furkan.profil I/Database: https://profil-95859.firebaseio.com/friends/552nQquUrtSgbVVLgXxfxOh6SL52 +++ vIYkKWAWwKTRD4NQfixzcNnfk6X2 ++++ false
  </code></pre>
  
  <p>`</p>