/** * This methods saves you a lot of work by check. Use this method in your bindView/getView. * * @param imageView CircularImageView to load the image * @param textView TextView to display AlphabeticImage */ public void loadProfileImage(CircleImageView imageView, TextView textView) { if (channel != null) { loadChannelImage(imageView, textView, channel); } else if (contact != null) { loadContactImage(imageView, textView, contact); } }