User - Quick Look

User

Get User Profile

The logged in user's profile is retrieved when the user logs in (via SSO Login). The user's profile is then available to the app via a synchronous method as shown below:

UserData userdata = ppManager.getUserData();
// Individual fields in the profile can be retrieved as:
String userHandle = userData.getHandle();
String userName = userData.getName();
String firstName = userData.getFirstName();
String lastName = userData.getLastName();

Display User Profile Image

The logged in user's profile image is available and can be easily captured into an ImageView as follows (note the Resource "R" id will be specified in your implementation and the 450x450 size is defined for convenience):

ImageView imageView = (ImageView) findViewById(R.id.profile_iv_filled);
ppManager.loadImageByID(CONTEXT, userData.getProfilePic(),imageView);