Skip to content

Commit

Permalink
Add installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tunous committed Sep 24, 2016
1 parent 6d44189 commit 25f96fc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ SwipeActionView is a swipe-able view, which allows users to perform actions by s

# Table of contents
- [Preview](#preview)
- [Installation](#installation)
- [Quick Example](#quick-example)
- [Sample](#sample)
- [The idea](#idea)
Expand All @@ -32,6 +33,24 @@ SwipeActionView is a swipe-able view, which allows users to perform actions by s

![Preview](art/preview.gif)

# <a id="installation">Installation</a>

Add the JitPack repository to your root `build.gradle`:
```
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
```

And add the dependency in your module's `build.gradle`:
```
dependencies {
compile 'com.github.Tunous:SwipeActionView:0.1.0'
}
```

# <a id="quick-example">Quick example</a>

Adding `SwipeActionView` to your projects requires only adding it to XML and setting up `SwipeGestureListener`.
Expand Down

0 comments on commit 25f96fc

Please sign in to comment.