Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qstumn committed Jun 23, 2017
1 parent c9de0fe commit 59138f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -29,7 +29,7 @@
## how to use:
### 1. gradle
```groovy
compile 'q.rorbin:VerticalTabLayout:1.2.2'
compile 'q.rorbin:VerticalTabLayout:1.2.4'
```
VERSION_CODE : [here](https://github.com/qstumn/VerticalTabLayout/releases)
### 2. xml
Expand Down Expand Up @@ -121,7 +121,7 @@ ViewPager的PagerAdapter可选择实现TabAdapter接口
### 5. 设置badge
```java
int tabPosition = 3;
int badgeNum=55;
int badgeNum = 55;
tablayout.setTabBadge(tabPosition,badgeNum);
Badge badge = tablayout.getTabAt(position).getBadgeView();

Expand Down

0 comments on commit 59138f7

Please sign in to comment.