File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
131131Step 2. Add the dependency
132+ 1 . old version support lib <= 27
132133``` groovy
133134compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
134135compile "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: ####
Original file line number Diff line number Diff line change 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
131133compile 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
132134compile "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
You can’t perform that action at this time.
0 commit comments