File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ MultiTypeAdapter的优点如下:
1515在build.gradle中添加如下代码:
1616``` groovy
1717dependencies {
18- compile 'cn.junhua.android.adapter:multitypeadapter:3.0.0-beta'
18+ implementation 'cn.junhua.android.adapter:multitypeadapter:3.0.0-beta'
1919}
2020```
2121
22+ 注:3.x版本较2.x版本改动非常大,不兼容之前版本。2.x最后一版`` 2.3.3 ``
23+
24+
25+
2226关系图:
2327
2428![ 关系图] ( https://github.com/JunhuaLin/MultiTypeAdapter/blob/master/photo/关系图3.png )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ android {
2525}
2626
2727dependencies {
28- compile fileTree(include : [' *.jar' ], dir : ' libs' )
28+ implementation fileTree(include : [' *.jar' ], dir : ' libs' )
2929 androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2' , {
3030 exclude group : ' com.android.support' , module : ' support-annotations'
3131 })
You can’t perform that action at this time.
0 commit comments