/** * Set a list of specific MIME-types to exclude and not display. For example, this can be used to * hide the {@link Contacts#CONTENT_ITEM_TYPE} profile icon. */ public void setExcludeMimes(String[] excludeMimes) { mExcludeMimes = excludeMimes; mPhotoView.setExcludeMimes(excludeMimes); }
/** Manually set the contact uri */ public void setContactUri(Uri uri, boolean sendToFastrack) { mContactUri = uri; if (sendToFastrack) { mPhotoView.assignContactUri(uri); } }
/** * Manually set the photo to display in the header. This doesn't change the underlying {@link * Contacts}, only the UI state. */ public void setPhoto(Bitmap bitmap) { mPhotoView.setImageBitmap(bitmap); }
public void enableClickListeners() { mDisplayNameView.setOnClickListener(this); mPhotoView.setOnClickListener(this); }