@WorkerThread
    public static BitmapDrawable getAvatar(@Nullable final IAvatar avatar) {
        if (avatar == null) {
            return null;
        }
        final String url = Settings.getAvatarUrl(avatar);
        if (StringUtils.isBlank(url)) {
            return null;
        }
        synchronized (HTML_IMAGE) {
            return HTML_IMAGE.getDrawable(url);
        }
    }
Retrieves avatar image for a given connector supporting avatars. May return null. Call is BLOCKING, don't use on main thread!
main/src/main/java/cgeo/geocaching/ui/AvatarUtils.java