コード例 #1
0
 private void populateTheFields() {
   firstNameEditText.setText(mCurrentUser.getFirstName());
   lastNameEditText.setText(mCurrentUser.getLastName());
   carEditText.setText(mCurrentUser.getCar());
   phoneNumberEditText.setText(mCurrentUser.getPhoneNumber());
   String profileImageUrl =
       TUMitfahrApplication.getApplication(this).getProfileService().getProfileImageURL(this);
   Picasso.with(this)
       .load(profileImageUrl)
       .placeholder(R.drawable.ic_account_dark)
       .error(R.drawable.ic_account_dark)
       .into(userImageView);
 }