private void populateHandouts(HandoutModel handout) { hideErrorMessage(); StringBuilder buff = WebViewUtil.getIntialWebviewBuffer(getActivity(), logger); buff.append("<body>"); buff.append("<div class=\"header\">"); buff.append(handout.handouts_html); buff.append("</div>"); buff.append("</body>"); webview.clearCache(true); webview.loadDataWithBaseURL(environment.getConfig().getApiHostURL(), buff.toString(), "text/html", Encoding.UTF_8.toString(), null); }