Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
loonggg authored Feb 16, 2017
1 parent c3d1352 commit 5a2593f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add it in your root build.gradle at the end of repositories:
### Step 2. Add the dependency
```java
dependencies {
compile 'com.github.loonggg:RecyclerViewBanner:v1.0'
compile 'com.github.loonggg:RecyclerViewBanner:v1.0'
}
```

Expand All @@ -38,7 +38,7 @@ Add it in your root build.gradle at the end of repositories:

### Step 4. Impelement Listener
```java
recyclerViewBanner = (RecyclerViewBanner) findViewById(R.id.rv_banner);
recyclerViewBanner = (RecyclerViewBanner) findViewById(R.id.rv_banner);
final List<RecyclerViewBanner.RvBanner> banners = new ArrayList<>();
for (int i = 0; i < 2; i++) {
banners.add(new Banner("https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1487221110004&di=d6043e4b0c90ddf3ea5096c3d8eb8f58&imgtype=0&src=http%3A%2F%2Fimage.tianjimedia.com%2FuploadImages%2F2014%2F067%2F5116EPAUD762_1000x500.jpg"));
Expand Down

0 comments on commit 5a2593f

Please sign in to comment.