Skip to content

Commit 1bf93bc

Browse files
committed
Fixed onNavigationItemSelected was triggered 2 times when using setupWithViewPager
1 parent d963964 commit 1bf93bc

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,13 @@ allprojects {
123123
repositories {
124124
...
125125
maven { url "https://jitpack.io" }
126+
maven { url "https://maven.google.com" }
126127
}
127128
}
128129
```
129130

130131
Step 2. Add the dependency
131132
```groovy
132-
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.1'
133-
```
134-
135-
If you can access google maven https://maven.google.com. And SDK >= 26. You can try the new version.
136-
```groovy
137133
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
138134
compile "com.android.support:design:26.+"
139135
```

README_ZH.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,13 @@ allprojects {
121121
repositories {
122122
...
123123
maven { url "https://jitpack.io" }
124+
maven { url "https://maven.google.com" }
124125
}
125126
}
126127
```
127128

128129
步骤 2. 添加依赖
129130
```groovy
130-
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.1'
131-
```
132-
133-
如果你可以访问谷歌 maven 仓库 https://maven.google.com,且 SDK >= 26,可以使用新版本
134-
```groovy
135131
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
136132
compile "com.android.support:design:26.+"
137133
```

0 commit comments

Comments
 (0)