Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add library
  • Loading branch information
rubensousa authored Sep 12, 2016
1 parent 1b5229f commit 0560e7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ RecyclerView snapping example with SnapHelper

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).

Add this to your build.gradle:

```groovy
compile 'com.github.rubensousa:gravitysnaphelper:0.1'
```

Otherwise, center snapping is done with LinearSnapHelper (part of the recyclerview-v7 package).

### Snapping center:
Expand Down

0 comments on commit 0560e7d

Please sign in to comment.