We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfbf3ea commit fe5c37bCopy full SHA for fe5c37b
1 file changed
README.md
@@ -4,6 +4,25 @@
4
5
## 使用方法
6
7
+### 添加依赖
8
+
9
+1. 添加仓库到根build.gradle文件
10
+``` gradle
11
+ allprojects {
12
+ repositories {
13
+ ...
14
+ maven { url 'https://jitpack.io' }
15
+ }
16
17
+```
18
+2. 添加库依赖
19
20
+ dependencies {
21
+ implementation 'com.github.wangmingshuo:XPullToRefresh:Tag'
22
23
+````
24
25
26
- 使用下拉刷新,只需要把要刷新布局嵌套在 PullToRefreshLayout里。
27
28
```
0 commit comments