Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuryo authored May 8, 2024
1 parent 070dc75 commit aa120cf
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ Android library provides a simple to use Swipeable RecyclerView.

### Prerequisites
Android 5.0+ API 21+
## V1.2 what's new:
### Corner radius support
```XML
app:leftCornerRadius="2dp"
app:rightCornerRadius="10dp"
app:cornerRadius="5dp"
```
Use cornerRadius to set radius globally for all sides.
Use leftCornerRadius and rightCornerRadius if you need to custtomize each side independently.
### RTL Support
```XML
app:supportRTL="false"
app:forceRTL="true"
```
supportRTL=true will switch sides to RTL if the device is using RTL language.
forceRTL=true forces SwipeableRecyclerView to show RTL.
# Features

* Customizable texts, icons & backgrounds.
Expand Down Expand Up @@ -140,7 +156,7 @@ allprojects {
Add the dependency
```
dependencies {
implementation 'com.github.tsuryo:Swipeable-RecyclerView:1.1'
implementation 'com.github.tsuryo:Swipeable-RecyclerView:1.2'
implementation 'androidx.recyclerview:recyclerview:+'
}
```

0 comments on commit aa120cf

Please sign in to comment.