Skip to content

Commit f1bf532

Browse files
committed
setup instruction update 📦
1 parent 883dea7 commit f1bf532

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,27 @@
33
Here **ExpanderTextView** come again!. It is just a TextView ,when text line count is more than 3 , it will shrink with ellipsize and read more text.
44
When select the TextView, it will show whole original text.
55

6+
## Setup
7+
On project level build.gradle
8+
```
9+
allprojects {
10+
repositories {
11+
...
12+
maven { url 'https://jitpack.io' }
13+
}
14+
}
15+
```
16+
17+
On module level build.gradle
18+
```
19+
dependencies {
20+
implementation 'com.github.BannerCoe:ExpanderTextView:v1.0.0'
21+
}
22+
```
623

724
Here is the things for further improvements.
825
- [X] MVP ExpanderTextView
9-
- [X] live on jitpack
26+
- [X] live on **jitpack**
1027
- [ ] can control line count from xml and kotlin
1128
- [ ] can change CONTINUE_TEXT (currently it's available only **Read more**).
1229
- [ ] can change CONTINUE_TEXT (currently it come with **Blue**).

0 commit comments

Comments
 (0)