Skip to content

Commit a19201d

Browse files
authored
Update README.md
Update to 0.2
1 parent 59d8232 commit a19201d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ RecyclerView snapping example with SnapHelper
66

77
## How to
88

9-
If you need snapping support to start, top, end or bottom, use [GravitySnapHelper](https://github.com/rubensousa/RecyclerViewSnap/blob/master/app/src/main/java/com/github/rubensousa/recyclerviewsnap/GravitySnapHelper.java).
9+
If you need snapping support to start, top, end or bottom, use GravitySnapHelper.
1010

1111
Add this to your build.gradle:
1212

1313
```groovy
14-
compile 'com.github.rubensousa:gravitysnaphelper:0.1'
14+
compile 'com.github.rubensousa:gravitysnaphelper:0.2'
1515
```
1616

1717
Otherwise, center snapping is done with LinearSnapHelper (part of the recyclerview-v7 package).
@@ -32,7 +32,6 @@ startRecyclerView.setLayoutManager(new LinearLayoutManager(this,
3232
SnapHelper snapHelperStart = new GravitySnapHelper(Gravity.START);
3333
snapHelperStart.attachToRecyclerView(startRecyclerView);
3434
```
35-
**NOTICE:** There's a serious issue with horizontal snapping in RTL layouts (see https://github.com/rubensousa/RecyclerViewSnap/issues/1). If you currently support RTL, consider waiting for a next release.
3635

3736
### Snapping top with GravitySnapHelper:
3837

0 commit comments

Comments
 (0)