Skip to content

Commit

Permalink
Fixed onNavigationItemSelected was triggered 2 times when using `se…
Browse files Browse the repository at this point in the history
…tupWithViewPager`
  • Loading branch information
ittianyu committed Nov 12, 2017
1 parent d963964 commit 1bf93bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,13 @@ allprojects {
repositories {
...
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}
```

Step 2. Add the dependency
```groovy
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.1'
```

If you can access google maven https://maven.google.com. And SDK >= 26. You can try the new version.
```groovy
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
compile "com.android.support:design:26.+"
```
Expand Down
6 changes: 1 addition & 5 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,13 @@ allprojects {
repositories {
...
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}
```

步骤 2. 添加依赖
```groovy
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.1'
```

如果你可以访问谷歌 maven 仓库 https://maven.google.com,且 SDK >= 26,可以使用新版本
```groovy
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
compile "com.android.support:design:26.+"
```
Expand Down

0 comments on commit 1bf93bc

Please sign in to comment.