title: Get Google Plus friends Android
body: <p>I am working with google + getting friends. I can successfully log in and get my credentials. But when I use mPlusClient.loadPeople(this, "me");, the return of</p>
  
  <pre><code>@Override
      public void onPeopleLoaded(ConnectionResult status, PersonBuffer personBuffer, String nextPageToken) {
          switch (status.getErrorCode()) {
  
          case ConnectionResult.SUCCESS:
              try {
                  int count = personBuffer.getCount();
                  Log.e("", "count : " + count);
                  for (int i = 0; i &lt; count; i++) {
                      Log.e("NAME", "" + personBuffer.get(i).getDisplayName());
                  }
              } finally {
                  personBuffer.close();
              }
  
              break;
  
          case ConnectionResult.SIGN_IN_REQUIRED:
              mPlusClient.disconnect();
              mPlusClient.connect();
              break;
  
          default:
              Log.e("TAG", "Error when listing people: " + status);
              break;
          }
      }
  </code></pre>
  
  <p>is only the details of the logged in user. Now what I what to achieve is to get the list of my friends. I tried using</p>
  
  <pre><code>mPlusClient.loadPeople(MainActivity.this, Person.Collection.Visible);
  </code></pre>
  
  <p>but it says "Collection cannot be resolved or is not a field".
  Any help would be highly appreciated. Thank you.</p>