Last active
April 14, 2016 09:21
-
-
Save ianbarber/9060530 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onResult(People.LoadPeopleResult loadPeopleResult) { | |
if (!loadPeopleResult.getStatus().isSuccess()) { | |
Log.e(TAG, loadPeopleResult.getStatus().toString()); | |
return; | |
} | |
PersonBuffer people = loadPeopleResult.getPersonBuffer(); | |
Log.d(TAG, "" + people.getCount()); | |
for(Person p : people) { | |
Log.d(TAG, p.getDisplayName()); // For example. | |
} | |
people.close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment