Skip to content

Commit 25f96fc

Browse files
committed
Add installation instructions
1 parent 6d44189 commit 25f96fc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ SwipeActionView is a swipe-able view, which allows users to perform actions by s
77

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

3334
![Preview](art/preview.gif)
3435

36+
# <a id="installation">Installation</a>
37+
38+
Add the JitPack repository to your root `build.gradle`:
39+
```
40+
allprojects {
41+
repositories {
42+
maven { url "https://jitpack.io" }
43+
}
44+
}
45+
```
46+
47+
And add the dependency in your module's `build.gradle`:
48+
```
49+
dependencies {
50+
compile 'com.github.Tunous:SwipeActionView:0.1.0'
51+
}
52+
```
53+
3554
# <a id="quick-example">Quick example</a>
3655

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

0 commit comments

Comments
 (0)