Skip to content

Commit cbc1b29

Browse files
author
Dominik Schürmann
committed
Version 1.8
1 parent 34db015 commit cbc1b29

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

HtmlTextView/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ android {
99
minSdkVersion 7
1010
targetSdkVersion 23
1111
versionCode 7
12-
versionName '1.7'
12+
versionName '1.8'
1313
}
1414
}
1515

1616
publish {
1717
userOrg = 'sufficientlysecure'
1818
groupId = 'org.sufficientlysecure'
1919
artifactId = 'html-textview'
20-
version = '1.7'
20+
version = '1.8'
2121
description = 'HtmlTextView is an extended TextView component for Android, which can load HTML and converts it into Spannable for displaying it.'
2222
website = 'https://github.com/sufficientlysecure/html-textview'
2323
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repositories {
1818
}
1919
2020
dependencies {
21-
compile 'org.sufficientlysecure:html-textview:1.7'
21+
compile 'org.sufficientlysecure:html-textview:1.8'
2222
}
2323
```
2424

@@ -36,7 +36,7 @@ dependencies {
3636
HtmlTextView htmlTextView = (HtmlTextView) view.findViewById(R.id.html_text);
3737

3838
// loads html from string and displays cat_pic.png from the app's drawable folder
39-
htmlTextView.setHtml("<h2>Hello wold</h2><ul><li>cats</li><li>dogs</li></ul><img src=\"cat_pic\"/>", new HtmlLocalImageGetter(this));
39+
htmlTextView.setHtml("<h2>Hello wold</h2><ul><li>cats</li><li>dogs</li></ul><img src=\"cat_pic\"/>", new HtmlLocalImageGetter(htmlTextView));
4040
```
4141

4242
or
@@ -54,7 +54,7 @@ or
5454
HtmlTextView htmlTextView = (HtmlTextView) view.findViewById(R.id.html_text);
5555

5656
// loads html from raw resource, i.e., a html file in res/raw/, this allows translatable resource (e.g., res/raw-de/ for german)
57-
htmlTextView.setHtml(this, R.raw.help, new HtmlRemoteImageGetter(htmlTextView));
57+
htmlTextView.setHtml(R.raw.help, new HtmlRemoteImageGetter(htmlTextView));
5858
```
5959

6060
## Supported HTML tags

0 commit comments

Comments
 (0)