Skip to content

Commit a508568

Browse files
committed
release 2.0.0
1 parent d39af50 commit a508568

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ An android lib for enhancing BottomNavigationView.
113113
### Sdk Version ###
114114
`compileSdkVersion` >= 25
115115

116-
### Importing to project ###
116+
### Importing to project(choose one) ###
117117

118118
#### Example for Gradle: ####
119119

@@ -129,10 +129,16 @@ allprojects {
129129
```
130130

131131
Step 2. Add the dependency
132+
1. old version support lib <= 27
132133
```groovy
133134
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
134135
compile "com.android.support:design:26.+"
135136
```
137+
2. new version support lib = 28
138+
```groovy
139+
implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.0'
140+
implementation "com.android.support:design:28.0.0"
141+
```
136142

137143

138144
#### Manual: ####

README_ZH.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
### Sdk 版本 ###
112112
`compileSdkVersion` >= 25
113113

114-
### 导入本库 ###
114+
### 导入本库(选择其中一种) ###
115115

116116
#### Gradle例子: ####
117117

@@ -127,10 +127,17 @@ allprojects {
127127
```
128128

129129
步骤 2. 添加依赖
130+
131+
1. 旧版本 support lib <= 27
130132
```groovy
131133
compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
132134
compile "com.android.support:design:26.+"
133135
```
136+
2. 新版本 support lib = 28
137+
```groovy
138+
implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.0'
139+
implementation "com.android.support:design:28.0.0"
140+
```
134141

135142
#### 手动导入: ####
136143

0 commit comments

Comments
 (0)