From 2669a9258bcf9cbbf6af945590fbc9359799736b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Byszewski?= Date: Mon, 24 Jul 2017 15:13:27 +0200 Subject: [PATCH] cleaningContent --- .../src/main/java/br/tiagohm/markdownview/MarkdownView.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/src/main/java/br/tiagohm/markdownview/MarkdownView.java b/library/src/main/java/br/tiagohm/markdownview/MarkdownView.java index a65f767..79a0f00 100644 --- a/library/src/main/java/br/tiagohm/markdownview/MarkdownView.java +++ b/library/src/main/java/br/tiagohm/markdownview/MarkdownView.java @@ -255,6 +255,11 @@ public void loadMarkdown(String text) { html = sb.toString(); } + public void cleanContent() { + html = ""; + show(); + } + public void show() { loadDataWithBaseURL("", html,