/** * Shows the profile of the given user. */ private void showProfileLoggedIn() { titleTextView.setText(R.string.profile_title_logged_in); emailTextView.setText(currentUser.getEmail()); String fullName = currentUser.getString("name"); if (fullName != null) { nameTextView.setText(fullName); } loginOrLogoutButton.setText(R.string.profile_logout_button_label); }
/** * Shows the profile of the given user. */ private void showProfileLoggedIn() { titleTextView.setText(R.string.profile_title_logged_in); emailTextView.setText(currentUser.getEmail()); String fullName = currentUser.getString("name"); if (fullName != null) { nameTextView.setText(fullName); } loginOrLogoutButton.setText(R.string.profile_logout_button_label); }
/** * Shows the profile of the given user. */ private void showProfileLoggedIn() { titleTextView.setText(R.string.profile_title_logged_in); emailTextView.setText(currentUser.getEmail()); String fullName = currentUser.getString("name"); if (fullName != null) { nameTextView.setText(fullName); } loginOrLogoutButton.setText(R.string.profile_logout_button_label); }
/** * Shows the profile of the given user. * * @param user */ private void showProfile(ParseUser user) { if (user != null) { emailTextView.setText(user.getEmail()); String fullName = user.getString("name"); if (fullName != null) { nameTextView.setText(fullName); } } } }
@Override public void onBind(int position, ParseUser item) { android.util.Log.d("RxParse", "onBind"); String email = item.getEmail() != null ? item.getEmail() : ""; if (!android.text.TextUtils.isEmpty(email)) { icon.setImageURI(Uri.parse("http://gravatar.com/avatar/" + MD5Util.md5Hex(email))); } text1.setText(email + ", " + item.getObjectId()); } }