Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miomin authored Nov 2, 2016
1 parent b8b2369 commit 56173bc
Showing 1 changed file with 47 additions and 4 deletions.
51 changes: 47 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@

#### 如果有帮助,记得右上角的Star一下哟

#### 过几天有空我会放一下依赖~

-------------------

### 简介
## 简介

![gif](/gif/small.gif)

Expand All @@ -24,8 +22,34 @@

-------------------

## 在你的Android Studio中依赖SHSwipeRefreshLayout

- Step1:在项目根目录的build.gradle中添加我的maven仓库

``` javaScript

allprojects {
repositories {
jcenter()
// 添加这一行即可
maven { url "https://raw.githubusercontent.com/miomin/mvn-repo-ione/master" }
}
}
```

- Step2:在Module的build.gradle或者全局添加如下依赖

``` javaScript

compile 'com.miomin:shswiperefreshlayout:1.0'
```

-------------------

## How to use

#### 下载该工程,具体用法请参考sample

### In XML

``` xml
Expand All @@ -48,6 +72,25 @@

```


### 如果使用ScrollView,需要使用我提供的ShareScrollView

``` xml

<com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<com.scu.miomin.shswiperefresh.view.ShareScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">

</com.scu.miomin.shswiperefresh.view.ShareScrollView>
</com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout>

```


### 所有属性

- Guidance视图背景颜色 :
Expand Down Expand Up @@ -116,7 +159,7 @@

-------------------

### 监听器
### 事件监听

``` java

Expand Down

0 comments on commit 56173bc

Please sign in to comment.