Skip to content

Commit f2e8bb7

Browse files
committed
Version up 0.2.1 -> 0.2.2
close #13
1 parent 1b5b108 commit f2e8bb7

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 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/)
33
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
44
[![Build Status](https://travis-ci.org/yuzumone/ExpandableTextView.svg?branch=master)](https://travis-ci.org/yuzumone/ExpandableTextView)
55

@@ -25,7 +25,7 @@ Add this to your app `build.gradle` file.
2525
```gradle
2626
dependencies {
2727
...
28-
compile 'com.github.yuzumone:ExpandableTextView:0.2.1'
28+
implementation 'com.github.yuzumone:ExpandableTextView:0.2.2'
2929
}
3030
```
3131

@@ -107,6 +107,11 @@ textView.setOnExpandableClickListener(object : OnExpandableClickListener {
107107
// Collapse action
108108
}
109109
})
110+
// OR
111+
textView.setOnExpandableClickListener(
112+
onExpand = { // Expand action },
113+
onCollapse = { // Collapse action }
114+
)
110115
```
111116

112117
## License

expandabletextview/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
defaultConfig {
1010
minSdkVersion 16
1111
targetSdkVersion 27
12-
versionCode 1
13-
versionName "0.2.1"
12+
versionCode 3
13+
versionName "0.2.2"
1414
}
1515
buildTypes {
1616
release {

0 commit comments

Comments
 (0)