Skip to content

Commit 1e045cd

Browse files
authored
Update README.md
1 parent ffed3a7 commit 1e045cd

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,19 @@ SDHtmlTextView use HTMLSpanner to display properly in TextViews an html page, ov
6464
* ``text-decoration`` only underline and line-through
6565

6666
## Usage
67+
68+
**Add the library as a dependency**
69+
70+
1. in **Project level `build.gradle`** add those repositories
71+
```gradle
72+
maven { url 'https://dl.bintray.com/sysdata/maven' }
73+
mavenCentral()
74+
maven { url 'http://repo.pageturner-reader.org' }
75+
```
76+
2. in your **App level `build.gradle`** add this dependecy
77+
```gradle
78+
implementation 'it.sysdata.mobile:HtmlSpanner:1.0.0'
79+
```
6780
In the xml layout file define a simple TextView then in the Activity do
6881

6982
```java

0 commit comments

Comments
 (0)