File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
# ExpandableTextView
2
- [ ![ JitPack] ( https://img.shields.io/badge/jitpack-0.2.1 -brightgreen.svg )] ( https://jitpack.io/#yuzumone/ExpandableTextView/ )
2
+ [ ![ JitPack] ( https://img.shields.io/badge/jitpack-0.2.2 -brightgreen.svg )] ( https://jitpack.io/#yuzumone/ExpandableTextView/ )
3
3
[ ![ License] ( https://img.shields.io/badge/license-Apache%202-blue.svg )] ( https://www.apache.org/licenses/LICENSE-2.0.html )
4
4
[ ![ Build Status] ( https://travis-ci.org/yuzumone/ExpandableTextView.svg?branch=master )] ( https://travis-ci.org/yuzumone/ExpandableTextView )
5
5
@@ -25,7 +25,7 @@ Add this to your app `build.gradle` file.
25
25
``` gradle
26
26
dependencies {
27
27
...
28
- compile 'com.github.yuzumone:ExpandableTextView:0.2.1 '
28
+ implementation 'com.github.yuzumone:ExpandableTextView:0.2.2 '
29
29
}
30
30
```
31
31
@@ -107,6 +107,11 @@ textView.setOnExpandableClickListener(object : OnExpandableClickListener {
107
107
// Collapse action
108
108
}
109
109
})
110
+ // OR
111
+ textView.setOnExpandableClickListener(
112
+ onExpand = { // Expand action },
113
+ onCollapse = { // Collapse action }
114
+ )
110
115
```
111
116
112
117
## License
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ android {
9
9
defaultConfig {
10
10
minSdkVersion 16
11
11
targetSdkVersion 27
12
- versionCode 1
13
- versionName " 0.2.1 "
12
+ versionCode 3
13
+ versionName " 0.2.2 "
14
14
}
15
15
buildTypes {
16
16
release {
You can’t perform that action at this time.
0 commit comments