Skip to content

Commit 2669a92

Browse files
cleaningContent
1 parent 404485a commit 2669a92

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/src/main/java/br/tiagohm/markdownview/MarkdownView.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ public void loadMarkdown(String text) {
255255
html = sb.toString();
256256
}
257257

258+
public void cleanContent() {
259+
html = "";
260+
show();
261+
}
262+
258263
public void show() {
259264
loadDataWithBaseURL("",
260265
html,

0 commit comments

Comments
 (0)