private HttpImageGetter continueBind(final TextView view, final String html, final Object id) {
        CharSequence encoded = HtmlUtils.encode(html, loading);
        if (containsImages(html)) {
            rawHtmlCache.put(id, encoded);
        } else {
            rawHtmlCache.remove(id);
            fullHtmlCache.put(id, encoded);
            return show(view, encoded);
        }

        if (TextUtils.isEmpty(encoded)) {
            return hide(view);
        }

        show(view, encoded);
        view.setTag(id);
        Single.just(html)
                .subscribeOn(Schedulers.computation())
                .map(htmlString -> HtmlUtils.encode(htmlString, this))
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(htmlCharSequence -> {
                    fullHtmlCache.put(id, htmlCharSequence);
                    if (id.equals(view.getTag())) {
                        show(view, htmlCharSequence);
                    }
                });
        return this;
    }
Bind text view to HTML string

@param view
@param html
@param id
@return this image getter
app/src/main/java/com/github/pockethub/android/util/HttpImageGetter.java